币安量化交易
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.

45 lines
947 B

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; }
/// <summary>
/// 投资本金
/// </summary>
[ Column(DbType = "decimal(18,8)")]
public decimal CostAmount { get; set; } = 0.0M;
[Column(InsertValueSql = "getdate()")]
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(InsertValueSql = "getdate()")]
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;
}
}