22 changed files with 203 additions and 181 deletions
@ -1,32 +0,0 @@ |
|||||
using FreeSql.DatabaseModel;using System; |
|
||||
using System.Collections; |
|
||||
using System.Collections.Generic; |
|
||||
using System.Linq; |
|
||||
using System.Reflection; |
|
||||
using System.Threading.Tasks; |
|
||||
using Newtonsoft.Json; |
|
||||
using FreeSql.DataAnnotations; |
|
||||
|
|
||||
namespace Binance.TradeRobot.Model.Db { |
|
||||
|
|
||||
[JsonObject(MemberSerialization.OptIn), Table(Name = "exchangeaccount", DisableSyncStructure = true)] |
|
||||
public partial class Exchangeaccount { |
|
||||
|
|
||||
[JsonProperty, Column(DbType = "bigint", IsPrimary = true)] |
|
||||
public long Id { get; set; } |
|
||||
|
|
||||
[JsonProperty, Column(DbType = "int")] |
|
||||
public int? BusinessType { get; set; } |
|
||||
|
|
||||
[JsonProperty, Column(DbType = "datetime")] |
|
||||
public DateTime? CreateTime { get; set; } |
|
||||
|
|
||||
[JsonProperty, Column(StringLength = 50)] |
|
||||
public string LoginName { get; set; } |
|
||||
|
|
||||
[JsonProperty, Column(DbType = "int")] |
|
||||
public int? TradePolicy { get; set; } |
|
||||
|
|
||||
} |
|
||||
|
|
||||
} |
|
@ -1,35 +0,0 @@ |
|||||
using FreeSql.DatabaseModel;using System; |
|
||||
using System.Collections; |
|
||||
using System.Collections.Generic; |
|
||||
using System.Linq; |
|
||||
using System.Reflection; |
|
||||
using System.Threading.Tasks; |
|
||||
using Newtonsoft.Json; |
|
||||
using FreeSql.DataAnnotations; |
|
||||
|
|
||||
namespace Binance.TradeRobot.Model.Db { |
|
||||
|
|
||||
[JsonObject(MemberSerialization.OptIn), Table(Name = "exchangeapikey", DisableSyncStructure = true)] |
|
||||
public partial class Exchangeapikey { |
|
||||
|
|
||||
[JsonProperty, Column(DbType = "bigint", IsPrimary = true)] |
|
||||
public long Id { get; set; } |
|
||||
|
|
||||
[JsonProperty, Column(DbType = "bigint")] |
|
||||
public long AccountId { get; set; } |
|
||||
|
|
||||
[JsonProperty, Column(StringLength = 100, IsNullable = false)] |
|
||||
public string APIKey { get; set; } |
|
||||
|
|
||||
[JsonProperty, Column(DbType = "datetime")] |
|
||||
public DateTime CreateTime { get; set; } |
|
||||
|
|
||||
[JsonProperty, Column(DbType = "bigint")] |
|
||||
public long? RobotId { get; set; } |
|
||||
|
|
||||
[JsonProperty, Column(StringLength = 100, IsNullable = false)] |
|
||||
public string SecretKey { get; set; } |
|
||||
|
|
||||
} |
|
||||
|
|
||||
} |
|
Loading…
Reference in new issue