namespace RB_MES_API.Models.Cloud
{
    /// <summary>
    /// 销售出库单的原单信息(发货通知)
    /// </summary>
    public class SALRETURNSTOCK
    {
        /// <summary>
        /// 发货通知单id
        /// </summary>
        public string FID { get; set; }
        /// <summary>
        /// 销售组织
        /// </summary>
        public string FSaleOrgId { get; set; }
        /// <summary>
        /// 客户
        /// </summary>
        public string FCustomerID { get; set; }
        /// <summary>
        ///  收货方地址
        /// </summary>
        public string FReceiveAddress { get; set; }
        /// <summary>
        ///  销售部门
        /// </summary>
        public string FSaleDeptID { get; set; }
        /// <summary>
        /// 销售员
        /// </summary>
        public string FSalesManID { get; set; }
        /// <summary>
        /// 结算方
        /// </summary>
        public string FSettleID { get; set; }
        /// <summary>
        /// 付款方
        /// </summary>
        public string FPayerID { get; set; }
        /// <summary>
        /// 收货方
        /// </summary>
        public string FReceiverID { get; set; }
        /// <summary>
        /// 单据编号
        /// </summary>
        public string FBillNo { get; set; }
        /// <summary>
        /// 对应组织
        /// </summary>
        public string FCorrespondOrgId { get; set; }
        /// <summary>
        /// 收货方联系人
        /// </summary>
        public string FReceiverContactID { get; set; }
        /// <summary>
        /// 收货人姓名
        /// </summary>
        public string FLinkMan { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string FLinkPhone { get; set; }
        /// <summary>
        /// 货主类型
        /// </summary>
        public string FOwnerTypeIdHead { get; set; }
        /// <summary>
        /// 货主
        /// </summary>
        public string FOwnerIdHead { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string FMaterialID { get; set; }
        /// <summary>
        /// 辅助属性
        /// </summary>
        public string FAuxpropID { get; set; }
        /// <summary>
        /// 基本单位
        /// </summary>
        public string FBaseUnitID { get; set; }
        /// <summary>
        /// 未出库数量
        /// </summary>
        public decimal FRemainOutQty { get; set; }
        /// <summary>
        /// 计价单位
        /// </summary>
        public string FPriceUnitId { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public string FPrice { get; set; }
        /// <summary>
        /// 含税单价
        /// </summary>
        public string FTaxPrice { get; set; }
        /// <summary>
        /// 折扣率%
        /// </summary>
        public string FDiscountRate { get; set; }
        /// <summary>
        /// 是否赠品
        /// </summary>
        public string FIsFree { get; set; }
        /// <summary>
        /// 结算方式
        /// </summary>
        public string FSettleTypeID { get; set; }
        /// <summary>
        /// 收款条件
        /// </summary>
        public string FRECEIPTCONDITIONID { get; set; }
        /// <summary>
        /// 结算组织
        /// </summary>
        public string FSettleOrgID { get; set; }
        /// <summary>
        /// 结算币别
        /// </summary>
        public string FSettleCurrID { get; set; }
        /// <summary>
        /// 本位币
        /// </summary>
        public string FLocalCurrID { get; set; }
        /// <summary>
        /// 汇率类型
        /// </summary>
        public string FExchangeTypeID { get; set; }
        /// <summary>
        /// 是否含税
        /// </summary>
        public bool FIsIncludedTax { get; set; } = true;
        /// <summary>
        /// 税率%
        /// </summary>
        public string FTaxRate { get; set; }
        /// <summary>
        /// 销售单位
        /// </summary>
        public string FUnitID { get; set; }
        /// <summary>
        /// 销售数量
        /// </summary>
        public decimal FQty { get; set; }
        /// <summary>
        /// 发货通知行内码 
        /// </summary>
        public string FEntryID { get; set; }
        /// <summary>
        /// 分录行号  
        /// </summary>
        public string FSeq { get; set; }
        /// <summary>
        /// 销售订单EntryId
        /// </summary>
        public int FSOEntryId { get; set; }
    }
}
