using FreeSql.DataAnnotations;
using System;
namespace Binance.TradeRobot.Model.Db
{
[Table(Name = "exchangeapikey", DisableSyncStructure = true)]
public partial class ExchangeAPIKey
{
public ExchangeAPIKey()
{
CreateTime = DateTime.Now;
}
[Column(DbType = "bigint", IsPrimary = true)]
public long Id { get; set; }
///
/// 交易所账号UID
///
[Column(DbType = "bigint")]
public long AccountId { get; set; }
[Column(StringLength = 100, IsNullable = false)]
public string APIKey { get; set; }
[Column(DbType = "datetime")]
public DateTime CreateTime { get; set; }
///
/// 关联机器人Id
///
[Column(DbType = "bigint")]
public long? RobotId { get; set; }
[Column(StringLength = 100, IsNullable = false)]
public string SecretKey { get; set; }
}
}