namespace RB_MES_APICore.Models.Cloud.SourceBill
{
    /// <summary>
    /// 退料申请单的原单信息
    /// </summary>
    public class PURMRAPP
    {
        /// <summary>
        /// 单据头内码
        /// </summary>
        public string FID { get; set; }
        /// <summary>
        /// 单据类型
        /// </summary>
        public string FBillTypeID { get; set; }
        /// <summary>
        /// 申请日期    
        /// </summary>
        public string FDate { get; set; }
        /// <summary>
        /// 采购组织
        /// </summary>
        public string FPURCHASEORGID { get; set; }
        /// <summary>
        /// 收料组织
        /// </summary>
        public string FReceiveOrgId { get; set; }
       
        /// <summary>
        /// 结算币别
        /// </summary>
        public string FSettleCurrId { get; set; }
        /// <summary>
        /// 退料类型
        /// </summary>
        public string FRMTYPE { get; set; }
        /// <summary>
        /// 申请组织
        /// </summary>
        public string FAPPORGID { get; set; }
        /// <summary>
        /// 供应商
        /// </summary>
        public string FSUPPLIERID { get; set; }
        /// <summary>
        /// BOM版本
        /// </summary>
        public string FBomId { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public string FPrice { get; set; }
        /// <summary>
        /// 价格系数
        /// </summary>
        public string FPriceCoefficient { get; set; }
        /// <summary>
        /// 折扣率%
        /// </summary>
        public string FEntryDiscountRate { get; set; }
        /// <summary>
        /// 含税单价
        /// </summary>
        public string FTaxPrice { get; set; }
        /// <summary>
        /// 单据编号
        /// </summary>
        public string FBillNo { get; set; }
        /// <summary>
        /// 需求跟踪号
        /// </summary>
        public string FReqTraceNo { get; set; }
        /// <summary>
        /// 基本单位
        /// </summary>
        public string FBaseUnitId { get; set; }
        /// <summary>
        /// 库存单位
        /// </summary>
        public string FStockUnitID { get; set; }
        /// <summary>
        /// 计价单位
        /// </summary>
        public string FPriceUnitId { get; set; }
        /// <summary>
        /// 辅助属性
        /// </summary>
        public string FAuxPropId { get; set; }
        /// <summary>
        /// 批号
        /// </summary>
        public string FLot { get; set; }
        /// <summary>
        /// 业务流程
        /// </summary>
        public string FBFLowId { get; set; }
        /// <summary>
        /// 结算组织
        /// </summary>
        public string FEntrySettleOrgId { get; set; }
        /// <summary>
        /// 计划跟踪号
        /// </summary>
        public string FMtoNo { get; set; }
        /// <summary>
        /// 对应组织
        /// </summary>
        public string FCorrespondOrgId { get; set; }
        /// <summary>
        /// 汇率类型
        /// </summary>
        public string FExchangeTypeId { get; set; }
        /// <summary>
        /// 是否赠品
        /// </summary>
        public bool FGiveAway { get; set; } = false;
        /// <summary>
        /// 采购单位
        /// </summary>
        public string FUnitId { get; set; }
        /// <summary>
        /// 采购基本数量
        /// </summary>
        public string FBaseUnitQty { get; set; }
        /// <summary>
        /// 库存基本数量
        /// </summary>
        public string FStockBaseQty { get; set; }
        /// <summary>
        /// 税率%
        /// </summary>
        public string FEntryTaxRate { get; set; }
        /// <summary>
        /// 分录价目表
        /// </summary>
        public string FPriceListEntry { get; set; }
        /// <summary>
        /// 明细信息内码
        /// </summary>
        public string FEntryID { get; set; }
        /// <summary>
        /// 价外税
        /// </summary>
        public string FISPRICEEXCLUDETAX { get; set; }
        /// <summary>
        /// 产品类型
        /// </summary>
        public string FRowType { get; set; }
        /// <summary>
        /// 父项产品
        /// </summary>
        public string FPARENTMATID { get; set; }
        /// <summary>
        /// 单价折扣
        /// </summary>
        public string FPriceDiscount { get; set; }
        /// <summary>
        /// 价目表分录id
        /// </summary>
        public string FPRILSTENTRYID { get; set; }
        /// <summary>
        /// 退料方式
        /// </summary>
        public string FRMMODE { get; set; }
        /// <summary>
        /// 需求组织
        /// </summary>
        public string FRequireOrgId { get; set; }
        /// <summary>
        /// 币别
        /// </summary>
        public string FLOCALCURRID { get; set; }
        /// <summary>
        /// 结算组织
        /// </summary>
        public string FSettleTypeId { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string FMATERIALID { get; set; }
        /// <summary>
        /// 库存单位
        /// </summary>
        public string FUNITID { get; set; }
        /// <summary>
        /// 计价单位
        /// </summary>
        public string FPRICEUNITID_F { get; set; }
        /// <summary>
        /// 采购单位
        /// </summary>
        public string FPURUNITID { get; set; }
    }
}
