using DS.Module.Core; using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.Fee.Entity; /// /// 费用代码设置 /// [SqlSugar.SugarTable("fee_code", "费用代码设置")] public class FeeCode : BaseModel { /// /// 费用代码 录入费用是作为检索 /// [SugarColumn(ColumnDescription = "费用代码", Length = 20)] public string Code { get; set; } /// /// 费用名称 /// [SugarColumn(ColumnDescription = "费用名称", Length = 50)] public string Name { get; set; } /// /// 费用英文名称 /// [SugarColumn(ColumnDescription = "费用英文名称", Length = 50)] public string EnName { get; set; } /// /// 币别Id /// [SugarColumn(ColumnDescription = "币别Id")] public long CurrencyId { get; set; } /// /// 默认计费标准代码 /// [SugarColumn(ColumnDescription = "默认计费标准代码", IsNullable = true, Length = 50)] public string DefaultUnit { get; set; } /// /// 默认计费标准名称 /// [SugarColumn(ColumnDescription = "默认计费标准名称", IsNullable = true, Length = 50)] public string DefaultUnitName { get; set; } /// /// 默认收费客户类型 /// [SugarColumn(ColumnDescription = "默认收费客户类型", IsNullable = true, Length = 50)] public string DefaultDebit { get; set; } /// /// 默认收费客户类型名称 /// [SugarColumn(ColumnDescription = "默认收费客户类型名称", IsNullable = true, Length = 50)] public string DefaultDebitName { get; set; } /// /// 默认付费客户类型 /// [SugarColumn(ColumnDescription = "默认付费客户类型", IsNullable = true ,Length =50)] public string DefaultCredit { get; set; } /// /// 默认付费客户类型名称 /// [SugarColumn(ColumnDescription = "默认付费客户类型名称", IsNullable = true, Length = 50)] public string DefaultCreditName { get; set; } /// /// 海运 海运相关模块使用 /// [SugarColumn(ColumnDescription = "海运", DefaultValue = "0")] public bool? IsSea { get; set; } = false; /// /// 空运 空运相关模块使用 /// [SugarColumn(ColumnDescription = "空运", DefaultValue = "0")] public bool? IsAir { get; set; } = false; /// /// 陆运 陆运相关模块使用 /// [SugarColumn(ColumnDescription = "陆运", DefaultValue = "0")] public bool? IsTrucking { get; set; } = false; /// /// 是否陆运固定费用 /// [SugarColumn(ColumnDescription = "是否陆运固定费用", DefaultValue = "0")] public bool? IsTruckingFixed { get; set; } = false; /// /// 仓储 仓储相关模块使用 /// [SugarColumn(ColumnDescription = "仓储", DefaultValue = "0")] public bool? IsWms { get; set; } = false; /// /// 是否垫付费用 /// [SugarColumn(ColumnDescription = "是否垫付费用", DefaultValue = "0")] public bool? IsAdvancedPay { get; set; } = false; /// /// 默认是否机密 /// [SugarColumn(ColumnDescription = "默认是否机密", DefaultValue = "0")] public bool? IsOpen { get; set; } = false; /// /// 默认是否开票 /// [SugarColumn(ColumnDescription = "默认是否开票", DefaultValue = "0")] public bool? IsInvoice { get; set; } = false; /// /// 费用默认税率 /// [SugarColumn(ColumnDescription = "费用默认税率", IsNullable = true, Length = 18, DecimalDigits = 4, DefaultValue = "0")] public decimal? TaxRate { get; set; } /// /// 费用分组 枚举可维护 /// [SugarColumn(ColumnDescription = "费用分组", IsNullable = true, Length = 30)] public string FeeGroup { get; set; } /// /// 费用默认FRT 枚举可维护 /// [SugarColumn(ColumnDescription = "费用默认FRT", IsNullable = true, Length = 20)] public string FeeFrt { get; set; } /// /// 默认发票费用名称 发票费用名称模块可维护 /// [SugarColumn(ColumnDescription = "默认发票费用名称", IsNullable = true, Length = 30)] public string GoodName { get; set; } /// /// 对帐类型 枚举可维护 /// [SugarColumn(ColumnDescription = "对帐类型", IsNullable = true, Length = 30)] public string CheckingType { get; set; } /// /// 默认币别 /// [SugarColumn(ColumnDescription = "默认币别", Length = 20)] public string DefaultCurrency { get; set; } /// /// 状态 0启用 1禁用 /// [SugarColumn(ColumnDescription = "状态", DefaultValue = "0")] public StatusEnum? Status { get; set; } = StatusEnum.Enable; }