using SqlSugar;
namespace AssetManager.Data;
///
/// Tiingo 股票代码字典表
///
[SugarTable("tiingo_tickers")]
public class TiingoTicker
{
///
/// 主键 ID
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
///
/// 标的代码(ticker)
///
[SugarColumn(ColumnDataType = "varchar(50)")]
public string? Ticker { get; set; }
///
/// 标的名称(中文名/英文名,预留字段)
///
[SugarColumn(ColumnDataType = "varchar(200)", IsNullable = true)]
public string? Name { get; set; }
///
/// 交易所(exchange)
///
[SugarColumn(ColumnDataType = "varchar(50)")]
public string? Exchange { get; set; }
///
/// 资产类型(assetType)
///
[SugarColumn(ColumnDataType = "varchar(50)")]
public string? AssetType { get; set; }
///
/// 计价货币(priceCurrency)
///
[SugarColumn(ColumnDataType = "varchar(10)")]
public string? PriceCurrency { get; set; }
}