Compare commits
2 Commits
0f7213cab8
...
0a053906ef
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0a053906ef | ||
|
|
95a29cf86a |
@ -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,15 +38,5 @@ 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,3 +1,4 @@
|
|||||||
|
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