This commit is contained in:
qianjiawei
2023-06-21 13:35:51 +08:00
parent 8808b48e78
commit 4c02911d55
8 changed files with 250 additions and 215 deletions

View File

@@ -8,14 +8,14 @@ namespace Tnb.QcMgr.Entities
{
public class CheckItemOut
{
public string checktypeid { get; set; }
public string checktypename { get; set; }
public List<CheckItem> items { get; set; }
public string? checktypeid { get; set; }
public string? checktypename { get; set; }
public List<CheckItem>? items { get; set; }
}
public class CheckItem
{
public string itemid { get; set; }
public string name { get; set; }
public string code { get; set; }
public string? itemid { get; set; }
public string? name { get; set; }
public string? code { get; set; }
}
}

View File

@@ -8,54 +8,54 @@ namespace Tnb.QcMgr.Entities.Dto
{
public class CheckItemsInput
{
public string id { get; set; }
public string name { get; set; }
public string status { get; set; }
public List<CheckTypeInput> checktypes { get; set; }
public string? id { get; set; }
public string? name { get; set; }
public string? status { get; set; }
public List<CheckTypeInput>? checktypes { get; set; }
}
public class CheckTypeInput
{
public string id { get; set; }
public List<ItemInput> items { get; set; }
public string? id { get; set; }
public List<ItemInput>? items { get; set; }
}
public class ItemInput
{
public string itemid { get; set; }
public string code { get; set; }
public string name { get; set; }
public string itemdid { get; set; }
public string? itemid { get; set; }
public string? code { get; set; }
public string? name { get; set; }
public string? itemdid { 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? 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 class CheckItemsOut
{
public string id { get; set; }
public string name { get; set; }
public string status { get; set; }
public List<CheckTypeOut> checktypes { get; set; }
public string? id { get; set; }
public string? name { get; set; }
public string? status { get; set; }
public List<CheckTypeOut>? checktypes { get; set; }
}
public class CheckTypeOut
{
public string checktypeid { get; set; }
public string checktypename { get; set; }
public List<ItemOut> items { get; set; }
public string? checktypeid { get; set; }
public string? checktypename { get; set; }
public List<ItemOut>? items { get; set; }
}
public class ItemOut
{
public string itemid { get; set; }
public string code { get; set; }
public string name { get; set; }
public string itemdid { get; set; }
public Show setShow { get; set; }
public Data setData { get; set; }
public string? itemid { get; set; }
public string? code { get; set; }
public string? name { get; set; }
public string? itemdid { get; set; }
public Show? setShow { get; set; }
public Data? setData { get; set; }
}
public class Show {
@@ -70,15 +70,15 @@ namespace Tnb.QcMgr.Entities.Dto
public bool isexec { get; set; }
}
public class Data {
public string extype { get; set; }
public Excontent 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 customer { get; set; }
public Isexec isexec { get; set; }
public string? extype { get; set; }
public Excontent? 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? customer { get; set; }
public Isexec? isexec { get; set; }
}
public class Isexec
{

View File

@@ -9,55 +9,55 @@ namespace Tnb.QcMgr.Entities
{
public class CheckPlanInput
{
public string mainid { get; set; }
public string addid { get; set; }
public string triggertype { get; set; }
public string content { get; set; }
public List<CheckPlanTypeInput> checktypes { get; set; }
public string? mainid { get; set; }
public string? addid { get; set; }
public string? triggertype { get; set; }
public string? content { get; set; }
public List<CheckPlanTypeInput>? checktypes { get; set; }
}
public class CheckPlanTypeInput
{
public string id { get; set; }
public List<PlanItemInput> items { get; set; }
public string? id { get; set; }
public List<PlanItemInput>? items { get; set; }
}
public class PlanItemInput
{
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? 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 class CheckPlansOut
{
public string id { get; set; }
public string? id { get; set; }
public bool hasadd { get; set; }
public bool hasitem{ get; set; }
public string addid { get; set; }
public string triggertype { get; set; }
public string content { get; set; }
public List<CheckPlanTypeOut> checktypes { get; set; }
public string? addid { get; set; }
public string? triggertype { get; set; }
public string? content { get; set; }
public List<CheckPlanTypeOut>? checktypes { get; set; }
}
public class CheckPlanTypeOut
{
public string checktypeid { get; set; }
public string checktypename { get; set; }
public List<PlanItemOut> items { get; set; }
public string? checktypeid { get; set; }
public string? checktypename { get; set; }
public List<PlanItemOut>? items { get; set; }
}
public class PlanItemOut
{
public string itemid { get; set; }
public string code { get; set; }
public string name { get; set; }
public string itemdid { get; set; }
public PlanItemShow setShow { get; set; }
public PlanItemData setData { get; set; }
public string? itemid { get; set; }
public string? code { get; set; }
public string? name { get; set; }
public string? itemdid { get; set; }
public PlanItemShow? setShow { get; set; }
public PlanItemData? setData { get; set; }
}
public class PlanItemShow
@@ -74,15 +74,15 @@ namespace Tnb.QcMgr.Entities
}
public class PlanItemData
{
public string extype { get; set; }
public Excontent 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 customer { get; set; }
public IsexecP isexec { get; set; }
public string? extype { get; set; }
public Excontent? 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? customer { get; set; }
public IsexecP? isexec { get; set; }
}
public class IsexecP
{

View File

@@ -8,28 +8,42 @@ 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 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 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 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 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 PostItemForm? postItemForm { get; set; }
}
public class PostItemForm
{
public string? attachment { get; set; }
public string[]? checkbox { get; set; }
public string? errorcause { get; set; }
public string? errorlevel { get; set; }
public int 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; }
@@ -44,37 +58,37 @@ namespace Tnb.QcMgr.Entities.Dto
}
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 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 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 string? value { get; set; }
}
public class Error
{
public string id { get; set; }
public string name { get; set; }
public string? id { get; set; }
public string? name { get; set; }
}
public class IsexecE
{
@@ -84,34 +98,34 @@ namespace Tnb.QcMgr.Entities.Dto
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? 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 List<CheckExexTypeInput>? checktypes { get; set; }
}
public class CheckExexTypeInput
{
public string id { get; set; }
public List<ExecItemInput> items { get; set; }
public string? id { get; set; }
public List<ExecItemInput>? items { get; set; }
}
public class ExecItemInput
{
public string itemdid { get; set; }
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; }
public string postItemForm { 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; }
public string? postItemForm { get; set; }
}
}

View File

@@ -9,12 +9,12 @@ namespace Tnb.QcMgr.Entities.Dto
{
public class TriggerPlan
{
public string id { get; set; }
public string name { get; set; }
public string code { get; set; }
public string type { get; set; }
public string cycle { get; set; }
public string[] trievent { get; set; }
public string[] trieventid { get; set; }
public string? id { get; set; }
public string? name { get; set; }
public string? code { get; set; }
public string? type { get; set; }
public string? cycle { get; set; }
public string[]? trievent { get; set; }
public string[]? trieventid { get; set; }
}
}