IdentifyCodeReq.cs 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. //----------------------------------------------------------------
  6. //Module Name: $safeprojectname$
  7. //Purpose:
  8. //CopyRight: Muchinfo
  9. //History:
  10. //----------------------------------------------------------------
  11. //DateTime 2017/1/16 15:21:51
  12. //Author
  13. //Description Create
  14. //----------------------------------------------------------------
  15. namespace Muchinfo.MTPClient.Data.Model.Bank
  16. {
  17. public class IdentifyCodeReq
  18. {
  19. //optional MessageHead Header = 1; // MessageHead
  20. // optional string AccountCode = 2; // string 账户
  21. // optional string CusBankID = 3; // string 托管银行编号
  22. // optional string Currency = 4; // string 币种
  23. // optional int32 AccountType = 5; // int32 账户类型
  24. // optional string MobilePhone = 6; // string 移动电话
  25. // optional int64 CustomerSignId = 7; // int64 签约编号
  26. // optional double Amount = 8; // double 入金金额
  27. // optional string BankAccountNo = 9; // string 银行账号
  28. // optional string CardNum = 10; // string 证件号码
  29. // optional int32 CardType = 11; // int32 证件类型
  30. // optional int32 TradeType = 12; // int32 交易类型 // int32 交易类型(1、签约/2、签约信息变更/3、出金/4、入金)
  31. // optional string CustomerName = 13; // string 用户姓名
  32. // optional string BankCode = 14; // string 银行编号
  33. /// <summary>
  34. /// 账户
  35. /// </summary>
  36. public string AccountCode { get; set; }
  37. /// <summary>
  38. /// 托管银行编号
  39. /// </summary>
  40. public string CusBankID { get; set; }
  41. /// <summary>
  42. /// 签约编号
  43. /// </summary>
  44. public long CustomerSignId { get; set; }
  45. /// <summary>
  46. /// 入金金额
  47. /// </summary>
  48. public decimal Amount { get; set; }
  49. /// <summary>
  50. /// 交易类型
  51. /// </summary>
  52. public BankTradeType TradeType { get; set; }
  53. /// <summary>
  54. /// 银行账号
  55. /// </summary>
  56. public string BankAccountNo { get; set; }
  57. /// <summary>
  58. /// 用户姓名
  59. /// </summary>
  60. public string CustomerName { get; set; }
  61. /// <summary>
  62. /// 银行编号
  63. /// </summary>
  64. public string BankCode { get; set; }
  65. /// <summary>
  66. /// 账户类型
  67. /// </summary>
  68. public eUserType AccountType { get; set; }
  69. /// <summary>
  70. /// 移动电话
  71. /// </summary>
  72. public string MobilePhone { get; set; }
  73. /// <summary>
  74. /// 币种
  75. /// </summary>
  76. public string Currency { get; set; }
  77. /// <summary>
  78. /// 证件号码
  79. /// </summary>
  80. public string CardNum { get; set; }
  81. /// <summary>
  82. /// 证件类型
  83. /// </summary>
  84. public eCardType CardType { get; set; }
  85. }
  86. // 1、签约/2、签约信息变更/3、出金/4、入金)
  87. public enum BankTradeType
  88. {
  89. /// <summary>
  90. /// 签约
  91. /// </summary>
  92. Sign=1,
  93. /// <summary>
  94. /// 签约信息变更
  95. /// </summary>
  96. UpdateSign=2,
  97. /// <summary>
  98. /// 出金
  99. /// </summary>
  100. OutAmount=3,
  101. /// <summary>
  102. /// 入金
  103. /// </summary>
  104. inAmount=4
  105. }
  106. }