using System; using System.Collections.Generic; using System.Linq; using System.Text; using Muchinfo.MTPClient.Data.Enums; using Muchinfo.MTPClient.Data.Helper; using Muchinfo.MTPClient.Resources; namespace Muchinfo.MTPClient.Data.Model.Bank { /// /// 出入金明细 /// public class AmountQuery { /// /// 申请时间 /// public DateTime ApplicationDate { get; set; } /// /// 提交申请时间 /// [PropertyDisc("EXECUTEDATE")] public DateTime CreateTime { get; set; } /// /// 操作类型 /// [PropertyDisc("operateType")] public string OutInType { get; set; } /// /// 操作类型 /// [PropertyDisc("EXECUTETYPE")] public MoneyOperateType OperateType { get; set; } /// /// 操作类型描述 /// public string DisplayOperateType { get { return OperateType.Discription(); } } /// /// 流水号 /// [PropertyDisc("EXCHTICKET")] public string ExchTicket { get; set; } /// /// 金额 /// [PropertyDisc("AMOUNT")] public decimal Amount { get; set; } /// /// 期初余额 /// [PropertyDisc("balance")] public decimal Balance { get; set; } /// /// 期末余额 /// [PropertyDisc("currentBalance")] public decimal CurrentBalance { get; set; } /// /// 托管银行名称 /// [PropertyDisc("CUSBANKNAME")] public string CusBankName { get; set; } /// /// 状态 /// public int Status { get; set; } /// /// 备注 /// [PropertyDisc("remark")] public string Remark { get; set; } /// /// 币种 /// [PropertyDisc("CURRENCY")] public string Currency { get; set; } /// /// 返回错误码 /// [PropertyDisc("RETCODE")] public int? RetCode { get; set; } /// /// 处理信息 /// [PropertyDisc("DEALTEXT")] public string Bankdealtext { get; set; } /// /// 是否成功 /// public string ResultDisplay { get { if (RetCode != null && RetCode==0) { return Client_Resource.Bank_SuccessResult; } else if (RetCode != null && RetCode ==4) { return Client_Resource.Infrastructure_Processing; } else { return Client_Resource.Bank_FailResult; } } } } }