Compare commits
No commits in common. "0a053906ef5400b9a8da6873d4e00a58bde9c006" and "0f7213cab8c558e674292007a81bee553aba308d" have entirely different histories.
0a053906ef
...
0f7213cab8
@ -9,7 +9,7 @@ namespace AssetManager.Data;
|
|||||||
public class TiingoTicker
|
public class TiingoTicker
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 主键 ID
|
/// 主键 ID(自增,导入时忽略此字段)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
@ -38,5 +38,15 @@ public class TiingoTicker
|
|||||||
[SugarColumn(ColumnDataType = "varchar(10)")]
|
[SugarColumn(ColumnDataType = "varchar(10)")]
|
||||||
public string? PriceCurrency { get; set; }
|
public string? PriceCurrency { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 创建时间(导入时可空,数据库会自动设置)
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(IsNullable = true)]
|
||||||
|
public DateTime? CreatedAt { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 更新时间(导入时可空,数据库会自动设置)
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(IsNullable = true)]
|
||||||
|
public DateTime? UpdatedAt { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
using System.Net.Http.Json;
|
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using AssetManager.Models.DTOs;
|
using AssetManager.Models.DTOs;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user