using Binance.TradeRobot.Model.Base; using FreeSql.DataAnnotations; using System; namespace Binance.TradeRobot.Model.Db { [Table(Name = "useraccountprofitlossrecord", DisableSyncStructure = true)] public partial class UserAccountProfitLossRecord { [Column(DbType = "bigint", IsPrimary = true)] public long Id { get; set; } /// /// 业务类型 /// [Column(MapType = typeof(int), DbType = "int")] public Enums.BusinessType BusinessType { get; set; } /// /// 变更金额 /// [Column(DbType = "decimal(18,8)")] public decimal ChangeAmount { get; set; } = 0.0M; [Column(DbType = "datetime")] public DateTime? CreateTime { get; set; } /// /// 分红比例 /// [Column(DbType = "decimal(18,2)")] public decimal DividendRatio { get; set; } = 0.0M; [Column(DbType = "bigint")] public long OrderId { get; set; } /// /// 订单利润 /// [Column(DbType = "decimal(18,8)")] public decimal OrderProfit { get; set; } = 0.0M; [Column(DbType = "bigint")] public long RobotId { get; set; } [Column(DbType = "bigint")] public long UserId { get; set; } /// /// 累计盈亏 /// [Column(DbType = "decimal(18,8)")] public decimal CumulativeProfitAndLoss { get; set; } = 0.0M; [Column(MapType = typeof(int), DbType = "int")] public Enums.Exchange ExchangeId { get; set; } } }