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