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.

146 lines
5.2 KiB
C#

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