|
|
@ -7,9 +7,17 @@ namespace Binance.TradeRobot.Model.Db |
|
|
|
public partial class ExchangeAPIKey |
|
|
|
{ |
|
|
|
|
|
|
|
public ExchangeAPIKey() |
|
|
|
{ |
|
|
|
CreateTime = DateTime.Now; |
|
|
|
} |
|
|
|
|
|
|
|
[Column(DbType = "bigint", IsPrimary = true)] |
|
|
|
public long Id { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 交易所账号UID
|
|
|
|
/// </summary>
|
|
|
|
[Column(DbType = "bigint")] |
|
|
|
public long AccountId { get; set; } |
|
|
|
|
|
|
@ -19,6 +27,9 @@ namespace Binance.TradeRobot.Model.Db |
|
|
|
[Column(DbType = "datetime")] |
|
|
|
public DateTime CreateTime { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 关联机器人Id
|
|
|
|
/// </summary>
|
|
|
|
[Column(DbType = "bigint")] |
|
|
|
public long? RobotId { get; set; } |
|
|
|
|
|
|
|