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