qinchulong
2025-05-27 c020f31a67fc5aa5644511bddff075f7ecc85234
´úÂë¹ÜÀí/WMS/WIDESEA_WMSServer/WIDESEA_DTO/MatSerialNumberDTO.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,31 @@
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.Enums.AnalysisFormatType.MTC), PropertyValidate("物料编号", NotNullAndEmpty = true)]
        public string MaterielCode { get; set; }
        [AnalysisItemRule(WIDESEA_Core.Enums.AnalysisFormatType.MTPT), PropertyValidate("生产日期", NotNullAndEmpty = true)]
        public string ProductionDate { get; set; }
        [AnalysisItemRule(WIDESEA_Core.Enums.AnalysisFormatType.BHN), PropertyValidate("批次号", NotNullAndEmpty = true)]
        public string BatchNo { get; set; }
        [AnalysisItemRule(WIDESEA_Core.Enums.AnalysisFormatType.MTQ), PropertyValidate("数量", NotNullAndEmpty = true)]
        public decimal MaterielQuantity { get; set; }
        [AnalysisItemRule(WIDESEA_Core.Enums.AnalysisFormatType.ODN), PropertyValidate("订单编号", NotNullAndEmpty = true)]
        public string OrderNo { get; set; }
        [AnalysisItemRule(WIDESEA_Core.Enums.AnalysisFormatType.BD), PropertyValidate("序列号", NotNullAndEmpty = true)]
        public string SerialNumber { get; set; }
    }
}