币安量化交易
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
909 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 Robot
{
[Column(IsPrimary = true)]
public long Id { get; set; }
[Column(InsertValueSql = "getdate()")]
public DateTime CreateTime { get; set; }
[Column(MapType = (typeof(int)))]
public Enums.TradePolicy TradePolicy { get; set; }
/// <summary>
/// 运行时长(s)
/// </summary>
public long RunningTime { get; set; } = 0;
[Column(MapType = (typeof(int)))]
public Enums.RobotStatus State { get; set; }
[Column(StringLength = 50, IsNullable = false)]
public string Symbol { get; set; }
[Column(MapType = (typeof(int)))]
public Enums.BusinessType BusinessType { get; set; }
}
}