| using System; | 
| using System.Collections.Generic; | 
| using System.Linq; | 
| using System.Text; | 
| using System.Threading.Tasks; | 
| using WIDESEA_Core.Attributes; | 
| using WIDESEA_Core.CodeConfigEnum; | 
|   | 
| namespace WIDESEA_DTO.Basic | 
| { | 
|     /// <summary> | 
|     ///  | 
|     /// </summary> | 
|     [AnalysisRule, ModelValidate] | 
|     public class MatSerNumAnalysisModel | 
|     { | 
|         /// <summary> | 
|         /// 物料编号 | 
|         /// </summary> | 
|         [AnalysisItemRule(AnalysisFormatTypeEnum.MTC), PropertyValidate("物料编号", NotNullAndEmpty = true)] | 
|         public string MaterielCode { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 批次号 | 
|         /// </summary> | 
|         [AnalysisItemRule(AnalysisFormatTypeEnum.BHN), PropertyValidate("批次号", NotNullAndEmpty = true)] | 
|         public string LotNo { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 生产日期 | 
|         /// </summary> | 
|         [AnalysisItemRule(AnalysisFormatTypeEnum.MTPD), PropertyValidate("生产日期", NotNullAndEmpty = true)] | 
|         public string ProductionDate { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 有效期 | 
|         /// </summary> | 
|         [AnalysisItemRule(AnalysisFormatTypeEnum.ED), PropertyValidate("有效期", NotNullAndEmpty = true)] | 
|         public string EffectiveDate { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 采购单号 | 
|         /// </summary> | 
|         [AnalysisItemRule(AnalysisFormatTypeEnum.ODN), PropertyValidate("采购单号", NotNullAndEmpty = true)] | 
|         public string PurchaseOrderNo { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 数量 | 
|         /// </summary> | 
|         [AnalysisItemRule(AnalysisFormatTypeEnum.MTQ), PropertyValidate("数量", NotNullAndEmpty = true)] | 
|         public float Quantity { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 原始数据 | 
|         /// </summary> | 
|         [AnalysisItemRule(AnalysisFormatTypeEnum.BD), PropertyValidate("原始数据", NotNullAndEmpty = true)] | 
|         public string SerialNumber { get; set; } | 
|     } | 
| } |