|
|
@ -1,4 +1,5 @@
|
|
|
|
using DS.Module.Core;
|
|
|
|
using DS.Module.Core;
|
|
|
|
|
|
|
|
using Masuit.Tools.Systems;
|
|
|
|
using SqlSugar;
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.Fee.Entity
|
|
|
|
namespace DS.WMS.Core.Fee.Entity
|
|
|
@ -14,6 +15,7 @@ namespace DS.WMS.Core.Fee.Entity
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "模板ID", IsNullable = false)]
|
|
|
|
[SugarColumn(ColumnDescription = "模板ID", IsNullable = false)]
|
|
|
|
public long TemplateId { get; set; }
|
|
|
|
public long TemplateId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// 所属模板
|
|
|
|
/// 所属模板
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
@ -24,21 +26,23 @@ namespace DS.WMS.Core.Fee.Entity
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(IsPrimaryKey = true)]
|
|
|
|
[SugarColumn(IsPrimaryKey = true)]
|
|
|
|
public long Id { get; set; }
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// 结算对象Id
|
|
|
|
/// 结算对象Id
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "结算对象Id")]
|
|
|
|
[SugarColumn(ColumnDescription = "结算对象Id", IsNullable = false)]
|
|
|
|
public long CustomerId { get; set; }
|
|
|
|
public long CustomerId { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// 结算对象
|
|
|
|
/// 结算对象
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "结算对象", Length = 100, IsNullable = true)]
|
|
|
|
[SugarColumn(ColumnDescription = "结算对象", Length = 100, IsNullable = false)]
|
|
|
|
public string? CustomerName { get; set; }
|
|
|
|
public string CustomerName { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// 结算对象类型
|
|
|
|
/// 结算对象类型
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "结算对象类型", IsNullable = true)]
|
|
|
|
[SugarColumn(ColumnDescription = "结算对象类型", IsNullable = true)]
|
|
|
|
public CustomerTypeEnum? CustomerType { get; set; }
|
|
|
|
public CustomerTypeEnum? CustomerType { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// 费用Id
|
|
|
|
/// 费用Id
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
@ -52,14 +56,19 @@ namespace DS.WMS.Core.Fee.Entity
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// 费用名称
|
|
|
|
/// 费用名称
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "费用名称", Length = 100, IsNullable = true)]
|
|
|
|
[SugarColumn(ColumnDescription = "费用名称", Length = 100, IsNullable = false)]
|
|
|
|
public string? FeeName { get; set; }
|
|
|
|
public string FeeName { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// 收付类型(收、付)
|
|
|
|
/// 费用类型
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "收付类型(收、付)", IsNullable = false, DefaultValue = "1")]
|
|
|
|
[SugarColumn(ColumnDescription = "费用类型", IsNullable = false)]
|
|
|
|
public FeeType FeeType { get; set; }
|
|
|
|
public FeeType FeeType { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 费用类型文本
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[SugarColumn(IsIgnore = true)]
|
|
|
|
|
|
|
|
public string FeeTypeText => FeeType.GetDescription();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 费用标准
|
|
|
|
/// 费用标准
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "费用标准", Length = 20, IsNullable = true)]
|
|
|
|
[SugarColumn(ColumnDescription = "费用标准", Length = 20, IsNullable = true)]
|
|
|
|