You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
using Binance.TradeRobot.Model.Base;
|
|
|
|
using FreeSql.DataAnnotations;
|
|
|
|
using System;
|
|
|
|
|
|
|
|
namespace Binance.TradeRobot.Model.Db
|
|
|
|
{
|
|
|
|
|
|
|
|
[Table(Name = "exchangeaccount", DisableSyncStructure = true)]
|
|
|
|
public partial class ExchangeAccount
|
|
|
|
{
|
|
|
|
public ExchangeAccount() { CreateTime = DateTime.Now; }
|
|
|
|
|
|
|
|
[Column(DbType = "bigint", IsPrimary = true)]
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
|
|
[Column(DbType = "int", MapType = typeof(int))]
|
|
|
|
public Enums.BusinessType BusinessType { get; set; }
|
|
|
|
|
|
|
|
[Column(DbType = "datetime")]
|
|
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
|
|
|
|
[Column(DbType = "int", MapType = typeof(int))]
|
|
|
|
public Enums.Exchange ExchangeId { get; set; }
|
|
|
|
|
|
|
|
[Column(StringLength = 50, IsNullable = false)]
|
|
|
|
public string LoginName { get; set; }
|
|
|
|
|
|
|
|
[Column(DbType = "int", MapType = typeof(int))]
|
|
|
|
public Enums.TradePolicy TradePolicy { get; set; }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|