using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.Fee.Entity;
///
/// 汇率设置表
///
[SqlSugar.SugarTable("fee_currency_exchange", "汇率设置表")]
public class FeeCurrencyExchange: BaseOrgModel
{
///
/// 币别Id
///
[SugarColumn(ColumnDescription = "币别Id")]
public long CurrencyId { get; set; }
///
/// 币别代码
///
[SugarColumn(ColumnDescription = "币别代码", Length = 10)]
public string CurrencyCode { get; set; }
///
/// 应收汇率
///
[SugarColumn(ColumnDescription = "应收汇率", IsNullable = true, Length = 18, DecimalDigits = 5, DefaultValue = "0")]
public decimal? DRValue { get; set; }
///
/// 应付汇率
///
[SugarColumn(ColumnDescription = "应付汇率", IsNullable = true, Length = 18, DecimalDigits = 5, DefaultValue = "0")]
public decimal? CRValue { get; set; }
///
/// 海关汇率
///
[SugarColumn(ColumnDescription = "海关汇率", IsNullable = true, Length = 18, DecimalDigits = 6, DefaultValue = "0")]
public decimal? CustomValue { get; set; }
///
/// 开始日期
///
[SqlSugar.SugarColumn(ColumnDescription = "开始日期", IsNullable = false)]
public DateTime? StartDate { get; set; }
///
/// 结束日期
///
[SqlSugar.SugarColumn(ColumnDescription = "结束日期", IsNullable = false)]
public DateTime? EndDate { get; set; }
///
/// 本位币
///
[SugarColumn(ColumnDescription = "本位币", Length = 10)]
public string LocalCurrency { get; set; }
///
/// 状态 0启用 1禁用
///
[SugarColumn(ColumnDescription = "状态",DefaultValue = "0")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
}