using SqlSugar; using System; namespace OrmTest { /// /// 应付费用表,记录与服务商之间的应收/应付费用。 /// [SugarTable("bil_payment", "应付费用表,记录与服务商之间的应收/应付费用。")] public partial class BilPayment { /// /// 应付费用id /// [SugarColumn(ColumnName = "pm_id", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "应付费用id")] public long Id { get; set; } /// /// /// [SugarColumn(ColumnName = "tms_id", ColumnDescription = "")] public int? TmsId { get; set; } /// /// 业务id /// [SugarColumn(ColumnName = "bs_id", ColumnDescription = "业务id")] public long BsId { get; set; } /// /// 服务商id /// [SugarColumn(ColumnName = "server_id", ColumnDescription = "服务商id")] public long ServerId { get; set; } /// /// 费用类型 /// [SugarColumn(ColumnName = "fk_code", ColumnDescription = "费用类型")] public string FkCode { get; set; } /// /// 计费单位 /// [SugarColumn(ColumnName = "unit_code", ColumnDescription = "计费单位")] public string UnitCode { get; set; } /// /// 金额,负数表示服务商退回费用 /// [SugarColumn(ColumnName = "pm_amount", ColumnDescription = "金额,负数表示服务商退回费用")] public decimal PmAmount { get; set; } /// /// 原币种 /// [SugarColumn(ColumnName = "currency_code", ColumnDescription = "原币种")] public string CurrencyCode { get; set; } /// /// 汇率 /// [SugarColumn(ColumnName = "pm_currencyrate", ColumnDescription = "汇率")] public decimal PmCurrencyrate { get; set; } /// /// 本位币金额 /// [SugarColumn(ColumnName = "pm_currencyamount", ColumnDescription = "本位币金额")] public decimal? PmCurrencyamount { get; set; } /// /// 核销完成标志,y表示本费用被核销 /// [SugarColumn(ColumnName = "pm_writeoffsign", ColumnDescription = "核销完成标志,y表示本费用被核销 ")] public string PmWriteoffsign { get; set; } /// /// 应付费用付清时间 /// [SugarColumn(ColumnName = "pm_writeoffdate", ColumnDescription = "应付费用付清时间")] public DateTime? PmWriteoffdate { get; set; } /// /// 费用发生日期。快件指出货日期,其它指入机日期 /// [SugarColumn(ColumnName = "pd_occurdate", ColumnDescription = "费用发生日期。快件指出货日期,其它指入机日期")] public DateTime PdOccurdate { get; set; } /// /// 计费价格表id /// [SugarColumn(ColumnName = "pd_pricesheetid", ColumnDescription = "计费价格表id")] public long? PdPricesheetid { get; set; } /// /// 计费价格值id /// [SugarColumn(ColumnName = "pv_pricevalueid", ColumnDescription = "计费价格值id")] public long? PvPricevalueid { get; set; } /// /// 计费分区 /// [SugarColumn(ColumnName = "pd_zoneid", ColumnDescription = "计费分区")] public long? PdZoneid { get; set; } /// /// 备注 /// [SugarColumn(ColumnName = "pd_note", ColumnDescription = "备注")] public string PdNote { get; set; } /// /// 服务商余额顺序ID /// [SugarColumn(ColumnName = "pm_server_surplusorderid", ColumnDescription = "服务商余额顺序ID")] public long? PmServerSurplusorderid { get; set; } /// /// 对账标志,Y为已完成服务商金额对账,N为未完成对账 /// [SugarColumn(ColumnName = "servebill_checksign", ColumnDescription = "对账标志,Y为已完成服务商金额对账,N为未完成对账")] public string ServebillChecksign { get; set; } /// /// 服务商对账时间 /// [SugarColumn(ColumnName = "servebill_checkdate", ColumnDescription = "服务商对账时间")] public DateTime? ServebillCheckdate { get; set; } /// /// 服务商账单ID /// [SugarColumn(ColumnName = "servebill_id", ColumnDescription = "服务商账单ID")] public long? ServebillId { get; set; } /// /// 导入时的服务商账单ID /// [SugarColumn(ColumnName = "import_servebill_id", ColumnDescription = "导入时的服务商账单ID")] public long? ImportServebillId { get; set; } /// /// 费用冲抵id /// [SugarColumn(ColumnName = "offset_pm_id", ColumnDescription = "费用冲抵id")] public long? OffsetPmId { get; set; } /// /// 成本费用分摊id /// [SugarColumn(ColumnName = "share_id", ColumnDescription = "成本费用分摊id")] public long? ShareId { get; set; } /// /// 应付账单id /// [SugarColumn(ColumnName = "paymentbill_id", ColumnDescription = "应付账单id")] public long? PaymentbillId { get; set; } /// /// 供应商账单ID /// [SugarColumn(ColumnName = "supplierbill_id", ColumnDescription = "供应商账单ID")] public long? SupplierbillId { get; set; } /// /// 差异原因,基础表:bsd_servebilldifference_reason(人工导入的费用,标记与系统自动算出的费用的差异原因) /// [SugarColumn(ColumnName = "difference_reason", ColumnDescription = "差异原因,基础表:bsd_servebilldifference_reason(人工导入的费用,标记与系统自动算出的费用的差异原因)")] public string DifferenceReason { get; set; } } }