using System.ComponentModel.DataAnnotations.Schema; namespace YLErp.DBModels { /// /// 资金日志 /// [Table("clientcash_log")] public class ClientCashLog { /// /// ID /// public int id { get; set; } /// /// 资金ID /// public int CashId { get; set; } /// /// 操作类型 /// public string OptType { get; set; } /// /// 改变信息 /// public string Changes { get; set; } /// /// 操作人 /// public int OptId { get; set; } /// /// 操作人 /// public string OptName { get; set; } /// /// 操作时间 /// public DateTime OptDate { get; set; } public string Explain { get; set; } } [NotMapped] public class ClientCashLogDto : ClientCashLog { } [NotMapped] public class ClientCashChangeList : ClientCashLog { /// /// 发生时间(需要记录前后变化) /// public string HappenDate { set; get; } public string Number { set; get; } public string ClientName { set; get; } /// /// 方向类型(需要记录前后变化) /// public string Direction { set; get; } /// /// 金额(需要记录前后变化) /// public string Money { set; get; } public string CurrencyCode { set; get; } public string TradeNumber { set; get; } /// /// (需要记录前后变化) /// public string Comments { set; get; } public int? ClientId { set; get; } public string ClientNumber { set; get; } public int AssetId { get; set; } public int TradeId { get; set; } public string EncryptTradeId { get; set; } public DateTime? HappenDateReal { set; get; } public double? MoneyReal { set; get; } public string Action { get; set; } public string DirectionType { set; get; } /// /// 资金状态 /// public string CashState { set; get; } public string DataInfo { get; set; } } }