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.
46 lines
1.7 KiB
C#
46 lines
1.7 KiB
C#
using DS.Module.Core;
|
|
using DS.Module.Core.Data;
|
|
using SqlSugar;
|
|
|
|
namespace DS.WMS.Core.Fee.Entity;
|
|
/// <summary>
|
|
/// 费用模板主表
|
|
/// </summary>
|
|
[SqlSugar.SugarTable("fee_template", "费用模板主表")]
|
|
public class FeeTemplate: BaseOrgModel<long>
|
|
{
|
|
/// <summary>
|
|
/// 模板名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "模板名称", IsNullable = false, Length = 50)]
|
|
public string TemplateName { get; set; }
|
|
/// <summary>
|
|
/// 业务类型(海运出口、海运进口、空运出口、空运进口)
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "业务类型 海运出口、海运进口、空运出口、空运进口", IsNullable = false, Length = 20)]
|
|
public string OpType { get; set; }
|
|
/// <summary>
|
|
/// 收付类型(收、付)
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "收付类型(收、付)", IsNullable = false, DefaultValue = "1")]
|
|
public int FeeType { get; set; }
|
|
/// <summary>
|
|
/// 是否公共标识
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "是否公共标识", IsNullable = false, DefaultValue = "0")]
|
|
public bool IsPublic { get; set; } = false;
|
|
|
|
/// <summary>
|
|
/// 描述
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "描述", Length = 200, IsNullable = true)]
|
|
public string Description { get; set; }
|
|
/// <summary>
|
|
/// 状态 0启用 1禁用
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "状态",DefaultValue = "0")]
|
|
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
|
|
|
|
[Navigate(NavigateType.OneToMany, nameof(FeeTemplateDetail.TemplateId))]
|
|
public List<FeeTemplateDetail> Details { get; set; }
|
|
} |