using FreeSql.DataAnnotations; using System; namespace Binance.TradeRobot.Model.Db { [Table(DisableSyncStructure = true)] public partial class User { [Column(IsPrimary = true)] public long Id { get; set; } /// /// 投资本金 /// [ Column(DbType = "decimal(18,8)")] public decimal CostAmount { get; set; } = 0.0M; [Column(InsertValueSql = "getdate()")] 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(InsertValueSql = "getdate()")] 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; } }