Browse Source

APIKey加注释

master
shanji 3 years ago
parent
commit
33039fd1c5
  1. 5
      Binance.TradeRobot.Model/Db/Exchange/ExchangeAPIKey.cs
  2. 6
      Binance.TradeRobot.Model/Dto/Response/Exchange/ExchangeAPIKeyResponse.cs

5
Binance.TradeRobot.Model/Db/Exchange/ExchangeAPIKey.cs

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

6
Binance.TradeRobot.Model/Dto/Response/Exchange/ExchangeAPIKeyResponse.cs

@ -2,8 +2,14 @@
{ {
public class ExchangeAPIKeyResponse : Db.ExchangeAPIKey public class ExchangeAPIKeyResponse : Db.ExchangeAPIKey
{ {
/// <summary>
/// 逐仓杠杆资产
/// </summary>
public decimal SpotMarginUSDT { get; set; } public decimal SpotMarginUSDT { get; set; }
/// <summary>
/// 关联机器人的交易对
/// </summary>
public string RobotSymbol { get; set; } public string RobotSymbol { get; set; }
} }
} }

Loading…
Cancel
Save