116 lines
3.6 KiB
C#
116 lines
3.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Tnb.QcMgr.Entities.Dto
|
|
{
|
|
public class CheckTaskOut
|
|
{
|
|
public string mainid { get; set; }
|
|
public string workid { get; set; }
|
|
public string workname { get; set; }
|
|
public string wareid { 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 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 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 List<CheckExexTypeInput> checktypes { get; set; }
|
|
}
|
|
public class CheckExexTypeInput
|
|
{
|
|
public string id { get; set; }
|
|
public List<ExecItemInput> items { get; set; }
|
|
}
|
|
public class ExecItemInput
|
|
{
|
|
public string itemdid { get; set; }
|
|
|
|
public string itemid { get; set; }
|
|
public string extype { get; set; }
|
|
public string excontent { get; set; }
|
|
public string check { get; set; }
|
|
public string errorcause { get; set; }
|
|
public string errorlevel { get; set; }
|
|
public string remark { get; set; }
|
|
public string attachment { get; set; }
|
|
public string isexec { get; set; }
|
|
public string customer { get; set; }
|
|
public string result { get; set; }
|
|
}
|
|
}
|