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

56 lines
1.5 KiB

using Binance.TradeRobot.Model.Base;
using FreeSql.DataAnnotations;
using System;
namespace Binance.TradeRobot.Model.Db
{
[Table(Name = "useraccountfundchangerecord", DisableSyncStructure = true)]
public partial class UserAccountFundChangeRecord
{
public UserAccountFundChangeRecord()
{
CreateTime = DateTime.Now;
}
[Column(DbType = "bigint", IsPrimary = true)]
public long Id { get; set; }
/// <summary>
/// 变更金额
/// </summary>
[Column(DbType = "decimal(18,8)")]
public decimal ChangeAmount { get; set; }
[Column(DbType = "datetime")]
public DateTime? CreateTime { get; set; }
[Column(MapType = typeof(int), DbType = "int")]
public Enums.FundDirection Direction { get; set; }
[Column(MapType = typeof(int), DbType = "int")]
public Enums.CapitalChangeType OperationType { get; set; }
/// <summary>
/// 操作者Id
/// </summary>
[Column(DbType = "bigint")]
public long OperationUserId { get; set; }
/// <summary>
/// 用户Id
/// </summary>
[Column(DbType = "bigint")]
public long UserId { get; set; }
/// <summary>
/// 对端用户Id
/// </summary>
[Column(DbType = "bigint")]
public long? ToUserId { get; set; }
[Column(StringLength = 100)]
public string Remark { get; set; }
}
}