using System.ComponentModel.DataAnnotations; namespace ZR.Model.MES.qc.DTO { /// /// 质量统计-首检输入输出对象 /// public class QcQualityStatisticsFirstDto { [Required(ErrorMessage = "id不能为空")] public string Id { get; set; } public string WorkorderId { get; set; } public string FinishedPartNumber { get; set; } public string ProductDescription { get; set; } public string Color { get; set; } public int? RequireNumber { get; set; } public string Team { get; set; } public int? QualifiedNumber { get; set; } public decimal QualifiedRate { get; set; } public int? PaoguangTotal { get; set; } public int? DamoTotal { get; set; } public int? BaofeiTotal { get; set; } public DateTime? StartTime { get; set; } public DateTime? EndTime { get; set; } public string Remark { get; set; } public int? PaintSuokong { get; set; } public int? PaintZhengkong { get; set; } public int? PaintShiguang { get; set; } public int? PaintSecha { get; set; } public int? PaintDianzi { get; set; } public int? PaintOther { get; set; } public int? DeviceShuiban { get; set; } public int? DeviceZandian { get; set; } public int? DeviceBianxing { get; set; } public int? DeviceYouzhu { get; set; } public int? DeviceTuoluo { get; set; } public int? DeviceZhuangshang { get; set; } public int? DeviceOther { get; set; } public int? BlankMaoci { get; set; } public int? BlankSuoyin { get; set; } public int? BlankCanshuang { get; set; } public int? BlankShaying { get; set; } public int? BlankZangdian { get; set; } public int? BlankDamo { get; set; } public int? ProgramLiuguang { get; set; } public int? ProgramSeqiqueqi { get; set; } public int? ProgramQingqiqueqi { get; set; } public int? ProgramJupi { get; set; } public int? ProgramOther { get; set; } public int? TeamTuoluocanshuang { get; set; } public int? TeamQingqiqikuai { get; set; } public int? TeamSeqiqikuai { get; set; } public int? TeamFahua { get; set; } public int? TeamLiangbang { get; set; } public int? TeamPenglou { get; set; } public DateTime? UpdatedTime { get; set; } public string UpdatedBy { get; set; } public DateTime? CreatedTime { get; set; } public string CreatedBy { get; set; } public int? Remark2 { get; set; } } /// /// 质量统计-首检查询对象 /// public class QcQualityStatisticsFirstQueryDto : PagerInfo { public string WorkorderId { get; set; } public string FinishedPartNumber { get; set; } public string ProductDescription { get; set; } public string Team { get; set; } public DateTime starttime { get; set; } public DateTime endtime { get; set; } } /// /// 质量统计-打印送货单 /// public class PrintDeliveryNoteDto { // btw文件路径 public string Path { get; set; } = ""; // 站点号 public string SiteNo { get; set; } = ""; // 识别内容名称(内部) public string Name { get; set; } = ""; // 零件号 public string PartNumber { get; set; } = ""; // 产品名称 public string Description { get; set; } = ""; // 颜色 public string Color { get; set; } = ""; // 规格 public string Specification { get; set; } = ""; // 工单号 public string WorkOrder { get; set; } = ""; // 箱号 public string PackageCode { get; set; } = ""; // 班组 public string Team { get; set; } = "A"; // 流水号 public int Sort { get; set; } = 1; // 生产时间 public string ProductionTime { get; set; } = ""; // 批次号 public string BatchCode { get; set; } = ""; // 满箱数 public int PackageNum { get; set; } = 24; // 标签内容 public string LabelCode { get; set; } = ""; // 标签区别 public int LabelType { get; set; } = 1; // 发送时间 public string CreatedTime { get; set; } = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); } }