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