品质模块

This commit is contained in:
qianjiawei
2023-06-09 17:37:42 +08:00
parent 1f75188668
commit 21115d3b29
16 changed files with 816 additions and 71 deletions

View File

@@ -8,18 +8,23 @@ 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<CheckType> checktypoes { get; set; }
public List<CheckTypeInput> checktypes { get; set; }
}
public class CheckType
public class CheckTypeInput
{
public string id { get; set; }
public List<Item> items { get; set; }
public List<ItemInput> items { get; set; }
}
public class Item
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 extype { get; set; }
public string excontent { get; set; }
public string check { get; set; }
@@ -28,5 +33,56 @@ namespace Tnb.QcMgr.Entities.Dto
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 class CheckTypeOut
{
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 class Show {
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 Data {
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 customer { get; set; }
public Isexec isexec { get; set; }
}
public class Isexec
{
public bool remark { get; set; }
public bool attachment { get; set; }
}
}

View File

@@ -3,31 +3,90 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tnb.QcMgr.Entities.Dto;
namespace Tnb.QcMgr.Entities
{
public class CheckPlanInput
{
public string name { get; set; }
public string status { get; set; }
public string checktype { get; set; }
public string numtype { get; set; }
public string pagetype { get; set; }
public string writerule { get; set; }
public string remind { get; set; }
public string attachment { get; set; }
public string isaddmul { 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 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 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 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 customer { get; set; }
public IsexecP isexec { get; set; }
}
public class IsexecP
{
public bool remark { get; set; }
public bool attachment { get; set; }
}
}

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tnb.QcMgr.Entities.Dto
{
public class Trigger
{
}
}