using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Core.Attributes; namespace WIDESEA_DTO.Inbound { [ModelValidate] public class MaterielGroupDTO { [PropertyValidate("托盘编号", NotNullAndEmpty = true)] public string PalletCode { get; set; } [PropertyValidate("单据编号", NotNullAndEmpty = true)] public string OrderNo { get; set; } [PropertyValidate("序列号条码", NotNullAndEmpty = true)] public List SerialNumbers { get; set; } } public class PdaMaterielGroupDTO { [PropertyValidate("托盘编号", NotNullAndEmpty = true)] public string PalletCode { get; set; } [PropertyValidate("单据编号", NotNullAndEmpty = true)] public string OrderNo { get; set; } [PropertyValidate("物料编号", NotNullAndEmpty = true)] public string MaterielCode { get; set; } [PropertyValidate("批次号", NotNullAndEmpty = true)] public string BatchNo { get; set; } [PropertyValidate("组盘数量", NotNullAndEmpty = true)] public decimal ReceiptQuantity { get; set; } } }