using FreeSql.DataAnnotations; using System; namespace Binance.TradeRobot.Model.Db { [Table(Name = "user", DisableSyncStructure = true)] public partial class User { [Column(DbType = "bigint", IsPrimary = true)] public long Id { get; set; } /// /// 用户资产 /// [Column(DbType = "decimal(18,8)")] public decimal TotalAssets { get; set; } = 0.0M; /// /// 投资本金 /// [Column(DbType = "decimal(18,8)")] public decimal CostAmount { get; set; } = 0.0M; [Column(DbType = "datetime")] public DateTime? CreateTime { get; set; } ///// ///// 收益 ///// //[Column(DbType = "decimal(18,8)")] //public decimal Profit { get; set; } = 0.0M; [Column(StringLength = 20)] public string Pwd { get; set; } [Column(DbType = "datetime")] public DateTime? UpdateTime { get; set; } [Column(StringLength = 20)] public string UserName { get; set; } /// /// 提现金额 /// [Column(DbType = "decimal(18,8)")] public decimal WithdrawAmount { get; set; } = 0.0M; } }