using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Core.Attributes; namespace WIDESEA_DTO { [AnalysisRule, ModelValidate] public class MatSerialNumberDTO { [AnalysisItemRule(WIDESEA_Core.CodeConfigEnum.AnalysisFormatTypeEnum.MTC), PropertyValidate("物料编号", NotNullAndEmpty = true)] public string MaterielCode { get; set; } [AnalysisItemRule(WIDESEA_Core.CodeConfigEnum.AnalysisFormatTypeEnum.MTPT), PropertyValidate("生产日期", NotNullAndEmpty = true)] public string ProductionDate { get; set; } [AnalysisItemRule(WIDESEA_Core.CodeConfigEnum.AnalysisFormatTypeEnum.BHN), PropertyValidate("批次号", NotNullAndEmpty = true)] public string BatchNo { get; set; } [AnalysisItemRule(WIDESEA_Core.CodeConfigEnum.AnalysisFormatTypeEnum.MTQ), PropertyValidate("数量", NotNullAndEmpty = true)] public decimal MaterielQuantity { get; set; } [AnalysisItemRule(WIDESEA_Core.CodeConfigEnum.AnalysisFormatTypeEnum.ODN), PropertyValidate("订单编号", NotNullAndEmpty = true)] public string OrderNo { get; set; } [AnalysisItemRule(WIDESEA_Core.CodeConfigEnum.AnalysisFormatTypeEnum.BD), PropertyValidate("序列号", NotNullAndEmpty = true)] public string SerialNumber { get; set; } } }