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 ErpProductTransferOrderDTO
    {
        /// 
        /// 调拨单号
        /// 
        [PropertyValidate("调拨单号",NotNullAndEmpty =true)]
        public string TransferNo { 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; }
        /// 
        /// 合格PCS数
        /// 
        [PropertyValidate("合格PCS数", NotNullAndEmpty = true)]
        public float QtyPcs { get; set; }
        /// 
        /// X板数
        /// 
        [PropertyValidate("X板数")]
        public float XQty { get; set; }
        /// 
        /// X板位
        /// 
        [PropertyValidate("X板位")]
        public int XSite { get; set; }
        /// 
        /// 单位
        /// 
        [PropertyValidate("单位",NotNullAndEmpty =true)]
        public string Unit { get; set; }
        /// 
        /// 建单日期
        /// yyyy-MM-dd
        /// 
        [PropertyValidate("建单日期",NotNullAndEmpty =true)]
        public string OrderDate { get; set; }
        /// 
        /// 备注
        /// 
        [PropertyValidate("备注")]
        public string Note { get; set; }
        /// 
        /// 销售订单号
        /// 
        [PropertyValidate("销售订单号",NotNullAndEmpty =true)]
        public string SaleOrder { get; set; }
        /// 
        /// 客户
        /// 
        [PropertyValidate("客户", NotNullAndEmpty =true)]
        public string Customer { get; set; }
        /// 
        /// 工厂
        /// 
        [PropertyValidate("工厂", NotNullAndEmpty =true)]
        public string FactoryCode { get; set; }
    }
}