| using System; | 
| using System.Collections.Generic; | 
| using System.Linq; | 
| using System.Text; | 
| using System.Threading.Tasks; | 
| using WIDESEA_Core.Attributes; | 
|   | 
| namespace WIDESEA_DTO.Outbound | 
| { | 
|     [ModelValidate] | 
|     public class OutboundOrderDetailAddDTO | 
|     { | 
|         /// <summary> | 
|         /// 物料编号 | 
|         /// </summary> | 
|         [PropertyValidate("物料编号", NotNullAndEmpty = true)] | 
|         public string MaterielCode { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 物料名称 | 
|         /// </summary> | 
|         public string MaterielName { get; set; } | 
|         /// <summary> | 
|         /// 批次号 | 
|         /// </summary> | 
|         public string BatchNo { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 单据数量 | 
|         /// </summary> | 
|         [PropertyValidate("单据数量", NotNullAndEmpty = true, MinValue = 0, IsContainMinValue = false)] | 
|         public decimal OrderQuantity { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 备注 | 
|         /// </summary> | 
|         public string Remark { get; set; } | 
|     } | 
| } |