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.
60 lines
1.7 KiB
C#
60 lines
1.7 KiB
C#
using DS.Module.Core;
|
|
using DS.Module.Core.Data;
|
|
using SqlSugar;
|
|
|
|
namespace DS.WMS.Core.Fee.Entity;
|
|
/// <summary>
|
|
/// 币别信息表
|
|
/// </summary>
|
|
[SugarTable("fee_currency","币别信息表")]
|
|
public class FeeCurrency: BaseModel<long>
|
|
{
|
|
/// <summary>
|
|
/// 人民币代码
|
|
/// </summary>
|
|
public const string RMB_CODE = "RMB";
|
|
|
|
/// <summary>
|
|
/// 美元代码
|
|
/// </summary>
|
|
public const string USD_CODE = "USD";
|
|
|
|
/// <summary>
|
|
/// 币别代码
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "币别代码", Length = 10)]
|
|
public string CodeName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 币别名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "币别名称", Length = 20)]
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 描述
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "描述", Length = 200,IsNullable = true)]
|
|
public string Description { get; set; }
|
|
/// <summary>
|
|
/// 财务软件代码
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "财务软件代码", Length = 30, IsNullable = true)]
|
|
public string FinanceSoftCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 默认对人民币汇率
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "默认对人民币汇率", IsNullable = true, Length = 18, DecimalDigits = 5, DefaultValue = "0")]
|
|
public decimal? DefaultRate { get; set; }
|
|
/// <summary>
|
|
///
|
|
/// 状态 0启用 1禁用
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "状态",DefaultValue = "0")]
|
|
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
|
|
|
|
|
|
[Navigate(NavigateType.OneToMany, nameof(FeeCurrencyExchange.CurrencyId))]
|
|
public List<FeeCurrencyExchange> Exchanges { get; set; }
|
|
} |