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; } } [ModelValidate] public class BarcodeMaterielGroupDTO { [PropertyValidate("托盘编号", NotNullAndEmpty = true)] public string PalletCode { get; set; } [PropertyValidate("单据编号", NotNullAndEmpty = true)] public string OrderNo { get; set; } [PropertyValidate("序列号条码", NotNullAndEmpty = true)] public string Barcodes { get; set; } public string locationType { get; set; } public string WarehouseType { get; set; } public string locationTypeDesc { get; set; } } [ModelValidate] public class EmptyBarcodeMaterielGroupDTO { [PropertyValidate("托盘编号", NotNullAndEmpty = true)] public string PalletCode { get; set; } public int WarehouseCode { get; set; } } }