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