Files
tnb.server/QcMgr/Tnb.QcMgr.Entities/Dto/CheckTask.cs
2024-08-27 16:57:48 +08:00

243 lines
7.9 KiB
C#

namespace Tnb.QcMgr.Entities
{
public class QcCheckExecHOut
{
public string? id { get; set; }
public string? materialid { get; set; }
public string? checktype { get; set; }
public string? workid { get; set; }
public string? processid { get; set; }
public string? wareid { get; set; }
public string? checknum { get; set; }
public string? status { get; set; }
public string? result { get; set; }
public string? tasktime { get; set; }
public string? exectime { get; set; }
public string? execuser { get; set; }
public string mo_task_code { get; set; }
public string batch { get; set; }
public int? qty { get; set; }
public string bill_code { get; set; }
public string equip_name { get; set; }
/// <summary>
/// 物料规格
/// </summary>
public string? material_specification { get; set; }
/// <summary>
/// 物料型号
/// </summary>
public string? material_standard { get; set; }
/// <summary>
/// pc端的设备名称
/// </summary>
public string extras { get; set; }
/// <summary>
/// pc端的物料规格
/// </summary>
public string? f_flowtaskid { get; set; }
/// <summary>
/// pc端的物料型号
/// </summary>
public string? f_flowid { get; set; }
}
public class CheckTaskOut
{
public string? mainid { get; set; }
public string? workid { get; set; }
public string? workname { get; set; }
public string? wareid { get; set; }
public string? status { get; set; }
public string mo_task_code { get; set; }
public string material_id { get; set; }
public string material_code { get; set; }
public string material_name { get; set; }
public int checknum { get; set; }
public string worker_name { get; set; }
public string bill_code { get; set; }
public string carry_code { get; set; }
public List<CheckExecTypeOut>? checktypes { get; set; }
}
public class CheckExecTypeOut
{
public string? checktypeid { get; set; }
public string? checktypename { get; set; }
public List<ExecItemOut>? items { get; set; }
}
public class ExecItemOut
{
public string? itemid { get; set; }
public string? code { get; set; }
public string? name { get; set; }
public string? itemdid { get; set; }
public ExecItemShow? setShow { get; set; }
public ExecItemData? setData { get; set; }
}
public class PostItemForm
{
public string? attachment { get; set; }
public object[]? checkbox { get; set; }
public string? errorcause { get; set; }
public string? errorlevel { get; set; }
public string? measuredValue { get; set; }
public string? radio { get; set; }
public string? remark { get; set; }
public string? text { get; set; }
public string? verdict { get; set; }
}
public class ExecItemShow
{
public bool extype { get; set; }
public bool excontent { get; set; }
public bool check { get; set; }
public bool errorcause { get; set; }
public bool errorlevel { get; set; }
public bool remark { get; set; }
public bool attachment { get; set; }
public bool customer { get; set; }
public bool isexec { get; set; }
}
public class ExecItemData
{
public string? extype { get; set; }
public Excontent? excontent { get; set; }
public string? check { get; set; }
public List<Error>? errorcause { get; set; }
public List<Error>? errorlevel { get; set; }
public string? remark { get; set; }
public string? attachment { get; set; }
public string? customer { get; set; }
public IsexecE? isexec { get; set; }
}
public class Excontent
{
public string? excontentType { get; set; }
public string? excontentNum { get; set; }
public string? amongMaxNum { get; set; }
public string? amongMinNum { get; set; }
public string? amongMinUnit { get; set; }
public string? gapValue { get; set; }
public string? greaterThanValue { get; set; }
public string? lessThanValue { get; set; }
public string? excontentText { get; set; }
public string? value { get; set; }
public List<ExcontentOption>? excontentOptions { get; set; }
}
public class ExcontentOption
{
public string? value { get; set; }
}
public class Error
{
public string? id { get; set; }
public string? name { get; set; }
}
public class IsexecE
{
public bool remark { get; set; }
public bool attachment { get; set; }
}
public class CheckTaskInput
{
public string? mainid { get; set; }
public string? checknum { get; set; }
public string? status { get; set; }
public string? result { get; set; }
public string check_type { get; set; }
public string remark { get; set; }
/// <summary>
/// 附件对象.
/// </summary>
public string attachment { get; set; } = string.Empty;
public List<List<Exextype>>? checktypes { get; set; }
}
public class Exextype
{
public string? checktypeid { get; set; }
public string? checktypename { get; set; }
public List<ExecItemInput>? items { get; set; }
}
public class ExecItemInput
{
public string? itemdid { get; set; }
public string? itemid { get; set; }
public string? code { get; set; }
public string? name { get; set; }
public ExecItemData? setData { get; set; }
public ExecItemShow? setShow { get; set; }
public string? postItemForm { get; set; }
public string? result { get; set; }
public int qty { get; set; }
}
public class Result
{
public string? mainid { get; set; }
public string? checknum { get; set; }
public string? status { get; set; }
public string? result { get; set; }
public string equip_name { get; set; }
public string mo_task_code { get; set; }
public string bill_code { get; set; }
public int? qty { get; set; }
/// <summary>
/// 物料规格
/// </summary>
public string? material_specification { get; set; }
/// <summary>
/// 物料型号
/// </summary>
public string? material_standard { get; set; }
public string? material_code { get; set; }
public string? material_name { get; set; }
public string? exectime { get; set; }
public string? execuser { get; set; }
public string batch { get; set; }
public List<List<Checktype>>? checktypes { get; set; }
public CheckCarry carryInfo { get; set; }
}
public class Checktype
{
public string? checktypeid { get; set; }
public string? checktypename { get; set; }
public List<ExecItem>? items { get; set; }
}
public class ExecItem
{
public string? itemdid { get; set; }
public string? itemid { get; set; }
public string? code { get; set; }
public string? name { get; set; }
public ExecItemData? setData { get; set; }
public ExecItemShow? setShow { get; set; }
public PostItemForm? postItemForm { get; set; }
public string? result { get; set; }
}
public class CheckCarry
{
public string carry_name { get; set; }
public string location_id { get; set; }
public string location_code { get; set; }
public string is_check { get; set; }
public string material_name { get; set; }
public decimal qty { get; set; }
}
}