using Binance.TradeRobot.Model.Base; using FreeSql.DataAnnotations; using System; namespace Binance.TradeRobot.Model.Db { [Table(DisableSyncStructure = true, Name = "exchangeaccount")] public partial class ExchangeAccount { public ExchangeAccount() { CreateTime = DateTime.Now; } [Column(DbType = "bigint", IsPrimary = true)] public long Id { get; set; } /// /// 业务类型 /// [Column(MapType = typeof(int))] public Enums.BusinessType BusinessType { get; set; } [Column(DbType = "datetime")] public DateTime CreateTime { get; set; } /// /// 账号登录名 /// [Column(StringLength = 50, IsNullable = false)] public string LoginName { get; set; } /// /// 交易策略 /// [Column(MapType = typeof(int))] public Enums.TradePolicy TradePolicy { get; set; } } }