15 changed files with 275 additions and 71 deletions
@ -0,0 +1,32 @@ |
|||
using Binance.TradeRobot.Model.Base; |
|||
using FreeSql.DataAnnotations; |
|||
using System; |
|||
|
|||
namespace Binance.TradeRobot.Model.Db |
|||
{ |
|||
|
|||
[Table(Name = "symbolinfo", DisableSyncStructure = true)] |
|||
public partial class SymbolInfo |
|||
{ |
|||
|
|||
[Column(DbType = "bigint", IsPrimary = true)] |
|||
public long Id { get; set; } |
|||
|
|||
[Column(DbType = "datetime")] |
|||
public DateTime? CreateTime { get; set; } |
|||
|
|||
[Column(DbType = "int", MapType = typeof(int))] |
|||
public Enums.Exchange ExchangeId { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 基础币卖出数量精度
|
|||
/// </summary>
|
|||
[Column(DbType = "int")] |
|||
public int SaleQuantityAccuracy { get; set; } |
|||
|
|||
[Column(StringLength = 50)] |
|||
public string Symbol { get; set; } |
|||
|
|||
} |
|||
|
|||
} |
@ -1 +1 @@ |
|||
FreeSql.Generator -Razor 1 -NameOptions 1,0,0,0 -NameSpace Binance.TradeRobot.Model.Db -DB "MySql,data source=47.245.58.112;port=3306;user id=sa;password=rYn6re2AKhcDWcBi;initial catalog=tradedb;charset=utf8;sslmode=none;max pool size=2" -FileName "{name}.cs" |
|||
FreeSql.Generator -Razor 1 -NameOptions 1,0,0,0 -NameSpace Binance.TradeRobot.Model.Db -DB "MySql,data source=8.209.252.195;port=3306;user id=sa;password=rYn6re2AKhcDWcBi;initial catalog=tradedb;charset=utf8;sslmode=none;max pool size=2" -FileName "{name}.cs" |
|||
|
@ -0,0 +1,8 @@ |
|||
using Binance.TradeRobot.Model.Db; |
|||
|
|||
namespace Binance.TradeRobot.Model.Dto |
|||
{ |
|||
public class SymbolInfoResponse : SymbolInfo |
|||
{ |
|||
} |
|||
} |
Loading…
Reference in new issue