171 lines
5.5 KiB
C#
171 lines
5.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
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 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 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 object? 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 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<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 class Result
|
|
{
|
|
public string? mainid { get; set; }
|
|
public string? checknum { get; set; }
|
|
public string? status { get; set; }
|
|
public string? result { get; set; }
|
|
|
|
public List<List<Checktype>>? checktypes { 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; }
|
|
}
|
|
|
|
}
|