1
0

MerchantSecret.java 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. package com.emato.biz.domain.merchant;
  2. import java.util.Date;
  3. import com.fasterxml.jackson.annotation.JsonFormat;
  4. import org.apache.commons.lang3.builder.ToStringBuilder;
  5. import org.apache.commons.lang3.builder.ToStringStyle;
  6. import com.emato.common.annotation.Excel;
  7. import com.emato.common.core.domain.BaseEntity;
  8. /**
  9. * 商户密钥对象 merchant_secret
  10. *
  11. * @author scott
  12. * @date 2023-03-17
  13. */
  14. public class MerchantSecret extends BaseEntity
  15. {
  16. private static final long serialVersionUID = 1L;
  17. /** 密钥编号 */
  18. private String secSn;
  19. /** 商户编号 */
  20. @Excel(name = "商户编号")
  21. private String merchSn;
  22. /** 商户密钥类型 */
  23. @Excel(name = "商户密钥类型")
  24. private String merchSecType;
  25. /** MD5混淆码 */
  26. @Excel(name = "MD5混淆码")
  27. private String md5Salt;
  28. /** 商户公钥 */
  29. @Excel(name = "商户公钥")
  30. private String merchPubKey;
  31. /** 商户私钥 */
  32. @Excel(name = "商户私钥")
  33. private String merchPriKey;
  34. /** e码头公钥 */
  35. @Excel(name = "e码头公钥")
  36. private String ematoPubKey;
  37. /** e码头私钥 */
  38. @Excel(name = "e码头私钥")
  39. private String ematoPriKey;
  40. /** 是否有效 */
  41. @Excel(name = "是否有效")
  42. private String isValid;
  43. /** 创建人序号 */
  44. @Excel(name = "创建人序号")
  45. private String createrSn;
  46. /** 修改人序号 */
  47. @Excel(name = "修改人序号")
  48. private String moderSn;
  49. /** 修改时间 */
  50. @JsonFormat(pattern = "yyyy-MM-dd")
  51. @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
  52. private Date modTime;
  53. /** 时间戳 */
  54. private Date tstm;
  55. public void setSecSn(String secSn)
  56. {
  57. this.secSn = secSn;
  58. }
  59. public String getSecSn()
  60. {
  61. return secSn;
  62. }
  63. public void setMerchSn(String merchSn)
  64. {
  65. this.merchSn = merchSn;
  66. }
  67. public String getMerchSn()
  68. {
  69. return merchSn;
  70. }
  71. public void setMerchSecType(String merchSecType)
  72. {
  73. this.merchSecType = merchSecType;
  74. }
  75. public String getMerchSecType()
  76. {
  77. return merchSecType;
  78. }
  79. public void setMd5Salt(String md5Salt)
  80. {
  81. this.md5Salt = md5Salt;
  82. }
  83. public String getMd5Salt()
  84. {
  85. return md5Salt;
  86. }
  87. public void setMerchPubKey(String merchPubKey)
  88. {
  89. this.merchPubKey = merchPubKey;
  90. }
  91. public String getMerchPubKey()
  92. {
  93. return merchPubKey;
  94. }
  95. public void setMerchPriKey(String merchPriKey)
  96. {
  97. this.merchPriKey = merchPriKey;
  98. }
  99. public String getMerchPriKey()
  100. {
  101. return merchPriKey;
  102. }
  103. public void setEmatoPubKey(String ematoPubKey)
  104. {
  105. this.ematoPubKey = ematoPubKey;
  106. }
  107. public String getEmatoPubKey()
  108. {
  109. return ematoPubKey;
  110. }
  111. public void setEmatoPriKey(String ematoPriKey)
  112. {
  113. this.ematoPriKey = ematoPriKey;
  114. }
  115. public String getEmatoPriKey()
  116. {
  117. return ematoPriKey;
  118. }
  119. public void setIsValid(String isValid)
  120. {
  121. this.isValid = isValid;
  122. }
  123. public String getIsValid()
  124. {
  125. return isValid;
  126. }
  127. public void setCreaterSn(String createrSn)
  128. {
  129. this.createrSn = createrSn;
  130. }
  131. public String getCreaterSn()
  132. {
  133. return createrSn;
  134. }
  135. public void setModerSn(String moderSn)
  136. {
  137. this.moderSn = moderSn;
  138. }
  139. public String getModerSn()
  140. {
  141. return moderSn;
  142. }
  143. public void setModTime(Date modTime)
  144. {
  145. this.modTime = modTime;
  146. }
  147. public Date getModTime()
  148. {
  149. return modTime;
  150. }
  151. public void setTstm(Date tstm)
  152. {
  153. this.tstm = tstm;
  154. }
  155. public Date getTstm()
  156. {
  157. return tstm;
  158. }
  159. @Override
  160. public String toString() {
  161. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  162. .append("secSn", getSecSn())
  163. .append("merchSn", getMerchSn())
  164. .append("merchSecType", getMerchSecType())
  165. .append("md5Salt", getMd5Salt())
  166. .append("merchPubKey", getMerchPubKey())
  167. .append("merchPriKey", getMerchPriKey())
  168. .append("ematoPubKey", getEmatoPubKey())
  169. .append("ematoPriKey", getEmatoPriKey())
  170. .append("isValid", getIsValid())
  171. .append("createrSn", getCreaterSn())
  172. .append("createTime", getCreateTime())
  173. .append("moderSn", getModerSn())
  174. .append("modTime", getModTime())
  175. .append("tstm", getTstm())
  176. .toString();
  177. }
  178. }