ToolAlipayConfigEntity.java 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. package me.zhengjie.dao.mybatis.entity;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import com.baomidou.mybatisplus.annotation.TableName;
  6. import java.io.Serializable;
  7. /**
  8. * <p>
  9. * 支付宝配置类
  10. * </p>
  11. *
  12. * @author humuyu
  13. * @since 2022-03-10
  14. */
  15. @TableName("tool_alipay_config")
  16. public class ToolAlipayConfigEntity implements Serializable {
  17. private static final long serialVersionUID = 1L;
  18. /**
  19. * ID
  20. */
  21. @TableId(value = "config_id", type = IdType.ASSIGN_ID)
  22. private Long configId;
  23. /**
  24. * 应用ID
  25. */
  26. @TableField("app_id")
  27. private String appId;
  28. /**
  29. * 编码
  30. */
  31. @TableField("charset")
  32. private String charset;
  33. /**
  34. * 类型 固定格式json
  35. */
  36. @TableField("format")
  37. private String format;
  38. /**
  39. * 网关地址
  40. */
  41. @TableField("gateway_url")
  42. private String gatewayUrl;
  43. /**
  44. * 异步回调
  45. */
  46. @TableField("notify_url")
  47. private String notifyUrl;
  48. /**
  49. * 私钥
  50. */
  51. @TableField("private_key")
  52. private String privateKey;
  53. /**
  54. * 公钥
  55. */
  56. @TableField("public_key")
  57. private String publicKey;
  58. /**
  59. * 回调地址
  60. */
  61. @TableField("return_url")
  62. private String returnUrl;
  63. /**
  64. * 签名方式
  65. */
  66. @TableField("sign_type")
  67. private String signType;
  68. /**
  69. * 商户号
  70. */
  71. @TableField("sys_service_provider_id")
  72. private String sysServiceProviderId;
  73. public Long getConfigId() {
  74. return configId;
  75. }
  76. public ToolAlipayConfigEntity setConfigId(Long configId) {
  77. this.configId = configId;
  78. return this;
  79. }
  80. public String getAppId() {
  81. return appId;
  82. }
  83. public ToolAlipayConfigEntity setAppId(String appId) {
  84. this.appId = appId;
  85. return this;
  86. }
  87. public String getCharset() {
  88. return charset;
  89. }
  90. public ToolAlipayConfigEntity setCharset(String charset) {
  91. this.charset = charset;
  92. return this;
  93. }
  94. public String getFormat() {
  95. return format;
  96. }
  97. public ToolAlipayConfigEntity setFormat(String format) {
  98. this.format = format;
  99. return this;
  100. }
  101. public String getGatewayUrl() {
  102. return gatewayUrl;
  103. }
  104. public ToolAlipayConfigEntity setGatewayUrl(String gatewayUrl) {
  105. this.gatewayUrl = gatewayUrl;
  106. return this;
  107. }
  108. public String getNotifyUrl() {
  109. return notifyUrl;
  110. }
  111. public ToolAlipayConfigEntity setNotifyUrl(String notifyUrl) {
  112. this.notifyUrl = notifyUrl;
  113. return this;
  114. }
  115. public String getPrivateKey() {
  116. return privateKey;
  117. }
  118. public ToolAlipayConfigEntity setPrivateKey(String privateKey) {
  119. this.privateKey = privateKey;
  120. return this;
  121. }
  122. public String getPublicKey() {
  123. return publicKey;
  124. }
  125. public ToolAlipayConfigEntity setPublicKey(String publicKey) {
  126. this.publicKey = publicKey;
  127. return this;
  128. }
  129. public String getReturnUrl() {
  130. return returnUrl;
  131. }
  132. public ToolAlipayConfigEntity setReturnUrl(String returnUrl) {
  133. this.returnUrl = returnUrl;
  134. return this;
  135. }
  136. public String getSignType() {
  137. return signType;
  138. }
  139. public ToolAlipayConfigEntity setSignType(String signType) {
  140. this.signType = signType;
  141. return this;
  142. }
  143. public String getSysServiceProviderId() {
  144. return sysServiceProviderId;
  145. }
  146. public ToolAlipayConfigEntity setSysServiceProviderId(String sysServiceProviderId) {
  147. this.sysServiceProviderId = sysServiceProviderId;
  148. return this;
  149. }
  150. @Override
  151. public String toString() {
  152. return "ToolAlipayConfigEntity{" +
  153. "configId=" + configId +
  154. ", appId=" + appId +
  155. ", charset=" + charset +
  156. ", format=" + format +
  157. ", gatewayUrl=" + gatewayUrl +
  158. ", notifyUrl=" + notifyUrl +
  159. ", privateKey=" + privateKey +
  160. ", publicKey=" + publicKey +
  161. ", returnUrl=" + returnUrl +
  162. ", signType=" + signType +
  163. ", sysServiceProviderId=" + sysServiceProviderId +
  164. "}";
  165. }
  166. }