using System.ComponentModel.DataAnnotations; namespace ZR.Model.MES.wms.Dto { /// /// 成品入库检验查询对象 /// public class WmFgentryInspectQueryDto : PagerInfo { public string Workorder { get; set; } public string Packcode { get; set; } public string Partnumber { get; set; } public DateTime starttime { get; set; } public DateTime endtime { get; set; } } /// /// 成品入库检验 父节点 加入 检验合格数量 和检验不合格数量 /// public class WmFgentryInspect_parentDto { public int Id { get; set; } public string Workorder { get; set; } public string Packcode { get; set; } public string Machine { get; set; } public int? ProductionNum { get; set; } /// /// 箱子数量 /// public int? Packnum { get; set; } public string Partnumber { get; set; } public int? Bfilled { get; set; } /// /// 已经检查不合格数量 /// public int? Result_good { get; set; } /// /// 已经检查合格数量 /// public int? Result_bad { get; set; } /// /// 未检查数量 /// public int? Result_null { get; set; } /// /// 产品描述 /// public string ProductDescription { get; set; } /// /// 规格 /// public string Specifications { get; set; } /// /// 颜色 /// /// public string Colour { get; set; } public string CreatedBy { get; set; } public DateTime? CreatedTime { get; set; } public string UpdatedBy { get; set; } public DateTime? UpdatedTime { get; set; } /// /// 上件数 /// public int PreviousNumber { get; set; } /// /// 工单状态 0-初态 1-上线 2-已完成 /// public int Status { get; set; } } /// /// 成品入库检验输入输出对象 /// public class WmFgentryInspectDto { [Required(ErrorMessage = "主键不能为空")] public int Id { get; set; } public string Workorder { get; set; } [Required(ErrorMessage = "箱子号不能为空")] public string Packcode { get; set; } public string Machine { get; set; } public int? ProductionNum { get; set; } public string Partnumber { get; set; } public int? Bfilled { get; set; } public int? Result { get; set; } public string CreatedBy { get; set; } public DateTime? CreatedTime { get; set; } public string UpdatedBy { get; set; } public DateTime? UpdatedTime { get; set; } /// /// 产品描述 /// public string ProductDescription { get; set; } /// /// 规格 /// public string Specifications { get; set; } /// /// 颜色 /// /// public string Colour { get; set; } } }