using Binance.TradeRobot.Model.Base;
using FreeSql.DataAnnotations;
namespace Binance.TradeRobot.Model.Db
{
[Table(DisableSyncStructure = true)]
public partial class PyramidPolicy
{
[Column(IsPrimary = true)]
public long Id { get; set; }
[Column(MapType = typeof(int))]
public Enums.SignalPeriod SignalPeriod { get; set; }
public long RobotId { get; set; }
///
/// 杠杆倍数(1-125整数)
///
public int Leverage { get; set; } = 1;
///
/// 仓位
///
[Column(DbType = "decimal(18,8)")]
public decimal Position { get; set; } = 0M;
///
/// 金字塔
///
public int Pyramid { get; set; } = 0;
}
}