You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using DS.Module.Core;
|
|
|
|
|
using DS.Module.Core.Data;
|
|
|
|
|
using DS.WMS.Core.Op.Entity;
|
|
|
|
|
using Masuit.Tools.Systems;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.Fee.Entity
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 往来单位费用模板
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("fee_cust_template", "往来单位费用模板")]
|
|
|
|
|
public class FeeCustTemplate : SharedOrgModel<long>
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "业务类型")]
|
|
|
|
|
public BusinessType BusinessType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务类型文本
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(IsIgnore = true)]
|
|
|
|
|
public string BusinessTypeText => BusinessType.GetDescription();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 费用类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "费用类型")]
|
|
|
|
|
public FeeType FeeType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 费用类型文本
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(IsIgnore = true)]
|
|
|
|
|
public string FeeTypeText => FeeType.GetDescription();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "名称", Length = 50, IsNullable = false)]
|
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 说明
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "说明", Length = 200, IsNullable = true)]
|
|
|
|
|
public string? Description { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 判定条件
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "判定条件", IsNullable = true)]
|
|
|
|
|
public string? Condition { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模板明细
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Navigate(NavigateType.OneToMany, nameof(FeeCustTemplateDetail.TemplateId))]
|
|
|
|
|
public List<FeeCustTemplateDetail> Details { get; set; } = [];
|
|
|
|
|
}
|
|
|
|
|
}
|