You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.1 KiB
51 lines
1.1 KiB
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; }
|
|
|
|
/// <summary>
|
|
/// 用户资产
|
|
/// </summary>
|
|
[Column(DbType = "decimal(18,8)")]
|
|
public decimal TotalAssets { get; set; } = 0.0M;
|
|
|
|
/// <summary>
|
|
/// 投资本金
|
|
/// </summary>
|
|
[Column(DbType = "decimal(18,8)")]
|
|
public decimal CostAmount { get; set; } = 0.0M;
|
|
|
|
[Column(DbType = "datetime")]
|
|
public DateTime? CreateTime { get; set; }
|
|
|
|
///// <summary>
|
|
///// 收益
|
|
///// </summary>
|
|
//[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; }
|
|
|
|
/// <summary>
|
|
/// 提现金额
|
|
/// </summary>
|
|
[Column(DbType = "decimal(18,8)")]
|
|
public decimal WithdrawAmount { get; set; } = 0.0M;
|
|
|
|
}
|
|
|
|
}
|
|
|