73 lines
2.2 KiB
C#
73 lines
2.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Newtonsoft.Json;
|
|
public class SpotCheckResult
|
|
{
|
|
[JsonProperty("id")]
|
|
public string Id { get; set; } // 点检记录id
|
|
|
|
[JsonProperty("code")]
|
|
public string Code { get; set; } // 点检记录编号
|
|
|
|
[JsonProperty("checkplanid")]
|
|
public string CheckPlanId { get; set; } // 点检计划ID
|
|
|
|
[JsonProperty("createusercode")]
|
|
public string CreateUserCode { get; set; } // 点检记录编制人编号
|
|
|
|
[JsonProperty("createusername")]
|
|
public string CreateUserName { get; set; } // 点检记录编制人名称
|
|
|
|
[JsonProperty("createtime")]
|
|
public DateTime CreateTime { get; set; } // 点检时间
|
|
|
|
[JsonProperty("resultData")]
|
|
public List<CheckResultDetail> ResultData { get; set; } // 点检明细列表
|
|
}
|
|
|
|
public class CheckResultDetail
|
|
{
|
|
[JsonProperty("resultid")]
|
|
public string ResultId { get; set; } // 点检明细id
|
|
|
|
[JsonProperty("checkplandetailid")]
|
|
public string CheckPlanDetailId { get; set; } // 点检计划详细信息ID
|
|
|
|
[JsonProperty("abnormal")]
|
|
public string Abnormal { get; set; } // 是否异常(假设为布尔值)
|
|
|
|
[JsonProperty("checkvalue")]
|
|
public string CheckValue { get; set; } // 点检值
|
|
|
|
[JsonProperty("checkresult")]
|
|
public string CheckResult { get; set; } // 点检结果
|
|
|
|
[JsonProperty("checkercode")]
|
|
public string CheckerCode { get; set; } // 点检人
|
|
|
|
[JsonProperty("checkername")]
|
|
public string CheckerName { get; set; } // 点检人名称
|
|
|
|
[JsonProperty("checktime")]
|
|
public string CheckTime { get; set; } // 实际点检时间
|
|
|
|
[JsonProperty("processresult")]
|
|
public string ProcessResult { get; set; } // 处理结果
|
|
|
|
[JsonProperty("processmethod")]
|
|
public string ProcessMethod { get; set; } // 处理方式
|
|
|
|
[JsonProperty("filebefore")]
|
|
public string FileBefore { get; set; } // 改善前附件
|
|
|
|
[JsonProperty("fileafter")]
|
|
public string FileAfter { get; set; } // 改善后附件
|
|
|
|
[JsonProperty("exdescribe")]
|
|
public string ExDescribe { get; set; } // 异常描述
|
|
|
|
[JsonProperty("nohandlereason")]
|
|
public string NoHandleReason { get; set; } // 不处理原因
|
|
} |