using Kurisu.AspNetCore.DataAccess.Entity; using Kurisu.AspNetCore.DataAccess.SqlSugar; using SqlSugar; namespace Dlhis.Entity; /// /// 供应商月结算表 /// [SugarTable("SettlementSupplierMonthly")] public class SettlementSupplierMonthly : SugarBaseEntity, ITenantId { /// /// YYYYMM /// [SugarColumn(IsNullable = false)] public string SettleMonth { get; set; } [SugarColumn(IsNullable = false)] public string SupplierName { get; set; } [SugarColumn(IsNullable = false)] public Guid BusinessPlaceCode { get; set; } [SugarColumn(IsNullable = false)] public string BusinessPlaceName { get; set; } /// /// 期初 /// [SugarColumn(IsNullable = false, DefaultValue = "0")] public decimal OpeningBalance { get; set; } /// /// 消费总额 /// [SugarColumn(IsNullable = false, DefaultValue = "0")] public decimal CostAmount { get; set; } /// /// 结算金额 /// [SugarColumn(IsNullable = false, DefaultValue = "0")] public decimal PaidAmount { get; set; } /// /// 退款金额 /// [SugarColumn(IsNullable = false, DefaultValue = "0")] public decimal RefundAmount { get; set; } /// /// 期末 /// [SugarColumn(IsNullable = false, DefaultValue = "0")] public decimal ClosingAmount { get; set; } [SugarColumn(IsNullable = false, DefaultValue = "1")] public bool Valid { get; set; } public string TenantId { get; set; } }