65 lines
1.6 KiB
C#
65 lines
1.6 KiB
C#
using Kurisu.AspNetCore.DataAccess.Entity;
|
|
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
|
using SqlSugar;
|
|
|
|
namespace Dlhis.Entity;
|
|
|
|
/// <summary>
|
|
/// 供应商月结算表
|
|
/// </summary>
|
|
[SugarTable("SettlementSupplierMonthly")]
|
|
public class SettlementSupplierMonthly : SugarBaseEntity, ITenantId
|
|
{
|
|
/// <summary>
|
|
/// YYYYMM
|
|
/// </summary>
|
|
[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; }
|
|
|
|
/// <summary>
|
|
/// 期初
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, DefaultValue = "0")]
|
|
public decimal OpeningBalance { get; set; }
|
|
|
|
/// <summary>
|
|
/// 消费总额
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, DefaultValue = "0")]
|
|
public decimal CostAmount { get; set; }
|
|
|
|
/// <summary>
|
|
/// 结算金额
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, DefaultValue = "0")]
|
|
public decimal PaidAmount { get; set; }
|
|
|
|
/// <summary>
|
|
/// 退款金额
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, DefaultValue = "0")]
|
|
public decimal RefundAmount { get; set; }
|
|
|
|
/// <summary>
|
|
/// 期末
|
|
/// </summary>
|
|
[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; }
|
|
} |