using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.Attributes;
namespace WIDESEA_DTO.ERP
{
    /// 
    /// 成品销售指派表
    /// 
    [ModelValidate]
    public class ErpProductSpecifyVerDTO
    {
        /// 
        /// 订单号
        /// 
        [PropertyValidate("订单号", NotNullAndEmpty = true)]
        public string OrderNo { get; set; }
        /// 
        /// 明细行号
        /// 
        [PropertyValidate("明细行号", NotNullAndEmpty = true)]
        public int RowId { get; set; }
        /// 
        /// 产品编码
        /// 
        [PropertyValidate("产品编码", NotNullAndEmpty = true)]
        public string PCode { get; set; }
        /// 
        /// 产品版本
        /// 
        [PropertyValidate("产品版本", NotNullAndEmpty = true)]
        public string PVer { get; set; }
        /// 
        /// 产品批次
        /// 
        [PropertyValidate("产品批次", NotNullAndEmpty = true)]
        public string PLot { get; set; }
        /// 
        /// 产品周期
        /// 
        [PropertyValidate("产品周期")]
        public string DateCode { get; set; }
        /// 
        /// 仓库类型
        /// HA72=尾数仓、HA71=成品仓、HA73=研发仓
        /// 
        [PropertyValidate("仓库类型", NotNullAndEmpty = true)]
        public string WaType { get; set; }
        /// 
        /// 合格PCS数
        /// 
        [PropertyValidate("合格PCS数", NotNullAndEmpty = true)]
        public float QtyPcs { get; set; }
        /// 
        /// 指派版本号
        /// 
        [PropertyValidate("指派版本号",NotNullAndEmpty =true)]
        public string Ver { get; set; }
    }
}