using System.ComponentModel.DataAnnotations;

namespace RB_MES_API.Models.Cloud
{
    /// <summary>
    /// 生产用料清单导入前准备的表头数据，非模型
    /// </summary>
    public class PPBOMHeadStr
    {
        /// <summary>
        /// 产品编码  (必填项)
        /// </summary>
        public string FMaterialID { get; set; } = string.Empty;
        /// <summary>
        /// 生产车间  (必填项)
        /// </summary>
        public string FWorkshopID { get; set; } = string.Empty;
        /// <summary>
        /// BOM版本  (必填项)
        /// </summary>
        public string FBOMID { get; set; } = string.Empty;
        /// <summary>
        /// 数量  (必填项)
        /// </summary>
        public decimal FQty { get; set; }
        /// <summary>
        /// 生产订单编号  (必填项)
        /// </summary>
        public string FMOBillNO { get; set; } = string.Empty;
        /// <summary>
        /// 生产订单行号  (必填项)
        /// </summary>
        public int FMOEntrySeq { get; set; } 
        /// <summary>
        /// 生产订单分录内码  (必填项)
        /// </summary>
        public long FMOEntryID { get; set; } 
        /// <summary>
        /// 基本单位数量  (必填项)
        /// </summary>
        public decimal FBaseQty { get; set; } 
        /// <summary>
        /// 生产订单内码  (必填项)
        /// </summary>
        public long FMoId { get; set; } 
        /// <summary>
        /// 基本单位  (必填项)
        /// </summary>
        public string FBaseUnitID { get; set; } = string.Empty;
        /// <summary>
        /// 生产订单类型  (必填项)
        /// </summary>
        public string FMOType { get; set; } = string.Empty;
        /// <summary>
        /// 单位  (必填项)
        /// </summary>
        public string FUnitID { get; set; } = string.Empty;
        /// <summary>
        /// 生产组织  (必填项)
        /// </summary>
        public string FPrdOrgId { get; set; } = string.Empty;
        /// <summary>
        /// 产品货主类型  (必填项)
        /// </summary>
        public string FParentOwnerTypeId { get; set; } = string.Empty;
        /// <summary>
        /// 产品货主  (必填项)
        /// </summary>
        public string FParentOwnerId { get; set; } = string.Empty;

    }
}
