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; } /// /// 交易所(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; } /// /// 创建时间(导入时可空,数据库会自动设置) /// [SugarColumn(IsNullable = true)] public DateTime? CreatedAt { get; set; } /// /// 更新时间(导入时可空,数据库会自动设置) /// [SugarColumn(IsNullable = true)] public DateTime? UpdatedAt { get; set; } }