|
|
|
@ -25,6 +25,21 @@ namespace DS.WMS.Core.Fee.Entity
|
|
|
|
|
[SugarColumn(IsPrimaryKey = true)]
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 结算对象Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "结算对象Id")]
|
|
|
|
|
public long CustomerId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 结算对象
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "结算对象", Length = 100, IsNullable = true)]
|
|
|
|
|
public string? CustomerName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 结算对象类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "结算对象类型", IsNullable = true)]
|
|
|
|
|
public CustomerTypeEnum? CustomerType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 费用Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "费用Id")]
|
|
|
|
@ -62,12 +77,12 @@ namespace DS.WMS.Core.Fee.Entity
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单价
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "单价", IsNullable = true, Length = 18, DecimalDigits = 4, DefaultValue = "0")]
|
|
|
|
|
[SugarColumn(ColumnDescription = "单价", IsNullable = true, Length = 18, DecimalDigits = 2, DefaultValue = "0")]
|
|
|
|
|
public decimal? UnitPrice { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 汇率
|
|
|
|
|
/// 汇率,为空时取默认汇率
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "汇率", IsNullable = true, Length = 18, DecimalDigits = 4, DefaultValue = "0")]
|
|
|
|
|
[SugarColumn(ColumnDescription = "汇率", IsNullable = true, Length = 18, DecimalDigits = 4)]
|
|
|
|
|
public decimal? ExchangeRate { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 费用默认税率
|
|
|
|
@ -87,7 +102,7 @@ namespace DS.WMS.Core.Fee.Entity
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 含税单价
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "含税单价", IsNullable = true, Length = 18, DecimalDigits = 4, DefaultValue = "0")]
|
|
|
|
|
[SugarColumn(ColumnDescription = "含税单价", IsNullable = true, Length = 18, DecimalDigits = 2, DefaultValue = "0")]
|
|
|
|
|
public decimal? TaxUnitPrice { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否开票
|
|
|
|
|