namespace RB_MES_API.Models.Cloud
{
    /// <summary>
    /// 委外领料单的原单信息(委外用料清单SUB_PPBOM)
    /// </summary>
    public class SUBPickMtrl
    {

        /// <summary>
        /// 委外用料清单单据类型
        /// </summary>
        public string FBillTypeID { get; set; }
        /// <summary>
        ///  发料组织
        /// </summary>
        public string FSupplyOrg { get; set; }
        /// <summary>
        /// 委外组织
        /// </summary>
        public string FSubOrgId { get; set; }
        /// <summary>
        ///  供应商
        /// </summary>
        public string FSupplierId { get; set; }
        /// <summary>
        /// 委外用料清单id
        /// </summary>
        public int FID { get; set; }
        /// <summary>
        ///  委外用料清单分录ID
        /// </summary>
        public int FEntryID { get; set; }
        /// <summary>
        ///  用料清单编号
        /// </summary>
        public string FBillNo { get; set; }
        /// <summary>
        /// 用料清单分录行号  
        /// </summary>
        public string FSeq { get; set; }
        /// <summary>
        ///  子项单位
        /// </summary>
        public string FUnitID2 { get; set; }
        /// <summary>
        ///  子项基本单位
        /// </summary>
        public string FBaseUnitID1 { get; set; }
        /// <summary>
        ///  委外订单内码
        /// </summary>
        public int FSubReqId { get; set; }
        /// <summary>
        ///  预留类型
        /// </summary>
        public string FReserveType { get; set; }
        /// <summary>
        ///  结算组织
        /// </summary>
        public string FSettleOrgId { get; set; }
        /// <summary>
        ///  委外订单号
        /// </summary>
        public string FSubReqBillNo { get; set; }
        /// <summary>
        ///  委外订单分录内码
        /// </summary>
        public string FSubReqEntryId { get; set; }
        /// <summary>
        /// 委外订单分录行号
        /// </summary>
        public int FSubReqEntrySeq { get; set; }
        /// <summary>
        ///  产品编码
        /// </summary>
        public string FProductNumber { get; set; }
        /// <summary>
        ///  主料编码
        /// </summary>
        public string FMainMaterial { get; set; }
        /// <summary>
        ///  替代料编码
        /// </summary>
        public string FMaterial { get; set; }
        /// <summary>
        ///  库存状态
        /// </summary>
        public string FStockStatusId { get; set; }
        /// <summary>
        ///  货主类型
        /// </summary>
        public string FOwnerTypeId { get; set; }
        /// <summary>
        ///  产品货主类型
        /// </summary>
        public string FParentOwnerTypeId { get; set; }
        /// <summary>
        ///  产品货主
        /// </summary>
        public string FParentOwnerId { get; set; }
        /// <summary>
        /// 未领数量
        /// </summary>
        public decimal FNoPickedQty { get; set; }
        /// <summary>
        /// 采购订单号
        /// </summary>
        public string FPurOrderNo { get; set; }
        /// <summary>
        /// 采购订单行号
        /// </summary>
        public string FPurOrderEntrySeq { get; set; }
    }
}
