|
|
@ -4,27 +4,38 @@ using System; |
|
|
|
namespace Binance.TradeRobot.Model.Db |
|
|
|
{ |
|
|
|
[Table(Name = "exchangeapikey", DisableSyncStructure = true)] |
|
|
|
public partial class ExchangeAPIKey |
|
|
|
{ |
|
|
|
public partial class ExchangeAPIKey |
|
|
|
{ |
|
|
|
|
|
|
|
[Column(DbType = "bigint", IsPrimary = true)] |
|
|
|
public long Id { get; set; } |
|
|
|
public ExchangeAPIKey() |
|
|
|
{ |
|
|
|
CreateTime = DateTime.Now; |
|
|
|
} |
|
|
|
|
|
|
|
[Column(DbType = "bigint")] |
|
|
|
public long AccountId { get; set; } |
|
|
|
[Column(DbType = "bigint", IsPrimary = true)] |
|
|
|
public long Id { get; set; } |
|
|
|
|
|
|
|
[Column(StringLength = 100, IsNullable = false)] |
|
|
|
public string APIKey { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// ½»Ò×ËùÕ˺ÅUID
|
|
|
|
/// </summary>
|
|
|
|
[Column(DbType = "bigint")] |
|
|
|
public long AccountId { get; set; } |
|
|
|
|
|
|
|
[Column(DbType = "datetime")] |
|
|
|
public DateTime CreateTime { get; set; } |
|
|
|
[Column(StringLength = 100, IsNullable = false)] |
|
|
|
public string APIKey { get; set; } |
|
|
|
|
|
|
|
[Column(DbType = "bigint")] |
|
|
|
public long? RobotId { get; set; } |
|
|
|
[Column(DbType = "datetime")] |
|
|
|
public DateTime CreateTime { get; set; } |
|
|
|
|
|
|
|
[Column(StringLength = 100, IsNullable = false)] |
|
|
|
public string SecretKey { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// ¹ØÁª»úÆ÷ÈËId
|
|
|
|
/// </summary>
|
|
|
|
[Column(DbType = "bigint")] |
|
|
|
public long? RobotId { get; set; } |
|
|
|
|
|
|
|
} |
|
|
|
[Column(StringLength = 100, IsNullable = false)] |
|
|
|
public string SecretKey { get; set; } |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|