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.
38 lines
855 B
38 lines
855 B
3 years ago
|
using Binance.TradeRobot.Model.Base;
|
||
|
using FreeSql.DataAnnotations;
|
||
|
using System;
|
||
|
|
||
|
namespace Binance.TradeRobot.Model.Db
|
||
|
{
|
||
|
|
||
|
[Table(DisableSyncStructure = true)]
|
||
|
public partial class ExchangeAccount
|
||
|
{
|
||
|
|
||
|
[Column(IsPrimary = true)]
|
||
|
public long Id { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 业务类型
|
||
|
/// </summary>
|
||
|
public int BusinessType { get; set; }
|
||
|
|
||
|
[Column(InsertValueSql = "getdate()")]
|
||
|
public DateTime CreateTime { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 账号登录名
|
||
|
/// </summary>
|
||
|
[Column(StringLength = 50, IsNullable = false)]
|
||
|
public string LoginName { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 交易策略
|
||
|
/// </summary>
|
||
|
[Column(MapType = typeof(int))]
|
||
|
public Enums.TradePolicy TradePolicy { get; set; }
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|