88 lines
2.9 KiB
C#
88 lines
2.9 KiB
C#
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 int? number { get; set; }
|
|
public List<CheckPlanTypeInput>? checktypes { get; set; }
|
|
}
|
|
public class CheckPlanTypeInput
|
|
{
|
|
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 class CheckPlansOut
|
|
{
|
|
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 int? number { 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 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 class PlanItemShow
|
|
{
|
|
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 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 class IsexecP
|
|
{
|
|
public bool remark { get; set; }
|
|
public bool attachment { get; set; }
|
|
}
|
|
}
|