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
    {
        /// 
        /// 物料编号
        /// 
        [PropertyValidate("物料编号", NotNullAndEmpty = true)]
        public string MaterielCode { get; set; }
        /// 
        /// 物料名称
        /// 
        public string MaterielName { get; set; }
        /// 
        /// 批次号
        /// 
        public string BatchNo { get; set; }
        /// 
        /// 单据数量
        /// 
        [PropertyValidate("单据数量", NotNullAndEmpty = true, MinValue = 0, IsContainMinValue = false)]
        public decimal OrderQuantity { get; set; }
        /// 
        /// 备注
        /// 
        public string Remark { get; set; }
    }
}