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