123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- using OASystem.Domain.Enums;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OASystem.Domain.Entities.System
- {
- /// <summary>
- /// 汇率记录
- /// </summary>
- [SugarTable("Sys_ExchangeRateRecord")]
- public class Sys_ExchangeRateRecord : EntityBase
- {
- /// <summary>
- /// 团组Id
- /// </summary>
- [SugarColumn(ColumnDescription = "团组Id", IsNullable = true, DefaultValue = "NULL", ColumnDataType = "int")]
- public int? DiId { get; set; } = 0;
- /// <summary>
- /// 关联模块
- /// </summary>
- [SugarColumn(ColumnDescription = "关联模块", IsNullable = true, DefaultValue = "NULL", ColumnDataType = "varchar(50)")]
- public string? LinkModule { get; set; }
- /// <summary>
- /// 汇率日期
- /// </summary>
- [SugarColumn(ColumnDescription = "汇率日期", IsNullable = true, DefaultValue = "NULL", ColumnDataType = "datetime")]
- public DateTime? RateDateTime { get; set; }
- /// <summary>
- /// 数据来源
- /// </summary>
- [SugarColumn(ColumnDescription = "数据来源", IsNullable = true, DefaultValue = "NULL", ColumnDataType = "int")]
- public RateDataSourcesEnum RateDataSource { get; set; } = RateDataSourcesEnum.JuHeAPI;
- /// <summary>
- /// 汇率信息
- /// 美元(USD):7.5|欧元(EUR):8.5|英镑(GBP):9.59|日元(JPY):0.06|港币(HKD):0.97
- /// </summary>
- [SugarColumn(ColumnDescription = "汇率信息", IsNullable = true, DefaultValue = "NULL", ColumnDataType = "nvarchar(500)")]
- public string RateInfo { get; set; }
- }
- }
|