Banners.java 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. package com.goafanti.common.model;
  2. import java.util.Date;
  3. import javax.validation.constraints.Max;
  4. import javax.validation.constraints.Size;
  5. import com.fasterxml.jackson.annotation.JsonFormat;
  6. import com.fasterxml.jackson.annotation.JsonFormat.Shape;
  7. public class Banners {
  8. /**
  9. * This field was generated by MyBatis Generator. This field corresponds to the database column banners.id
  10. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  11. */
  12. private String id;
  13. /**
  14. * This field was generated by MyBatis Generator. This field corresponds to the database column banners.text
  15. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  16. */
  17. private String text;
  18. /**
  19. * This field was generated by MyBatis Generator. This field corresponds to the database column banners.img_url
  20. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  21. */
  22. private String imgUrl;
  23. /**
  24. * This field was generated by MyBatis Generator. This field corresponds to the database column banners.api_url
  25. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  26. */
  27. private String apiUrl;
  28. /**
  29. * This field was generated by MyBatis Generator. This field corresponds to the database column banners.forward_url
  30. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  31. */
  32. private String forwardUrl;
  33. /**
  34. * This field was generated by MyBatis Generator. This field corresponds to the database column banners.width
  35. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  36. */
  37. private Integer width;
  38. /**
  39. * This field was generated by MyBatis Generator. This field corresponds to the database column banners.height
  40. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  41. */
  42. private Integer height;
  43. /**
  44. * This field was generated by MyBatis Generator. This field corresponds to the database column banners.client
  45. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  46. */
  47. private Integer client;
  48. /**
  49. * This field was generated by MyBatis Generator. This field corresponds to the database column banners.delete_sign
  50. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  51. */
  52. private Boolean deleteSign;
  53. /**
  54. * This method was generated by MyBatis Generator. This method returns the value of the database column banners.id
  55. * @return the value of banners.id
  56. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  57. */
  58. public String getId() {
  59. return id;
  60. }
  61. /**
  62. * This method was generated by MyBatis Generator. This method sets the value of the database column banners.id
  63. * @param id the value for banners.id
  64. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  65. */
  66. public void setId(String id) {
  67. this.id = id;
  68. }
  69. /**
  70. * This method was generated by MyBatis Generator. This method returns the value of the database column banners.text
  71. * @return the value of banners.text
  72. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  73. */
  74. public String getText() {
  75. return text;
  76. }
  77. /**
  78. * This method was generated by MyBatis Generator. This method sets the value of the database column banners.text
  79. * @param text the value for banners.text
  80. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  81. */
  82. public void setText(String text) {
  83. this.text = text;
  84. }
  85. /**
  86. * This method was generated by MyBatis Generator. This method returns the value of the database column banners.img_url
  87. * @return the value of banners.img_url
  88. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  89. */
  90. public String getImgUrl() {
  91. return imgUrl;
  92. }
  93. /**
  94. * This method was generated by MyBatis Generator. This method sets the value of the database column banners.img_url
  95. * @param imgUrl the value for banners.img_url
  96. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  97. */
  98. public void setImgUrl(String imgUrl) {
  99. this.imgUrl = imgUrl;
  100. }
  101. /**
  102. * This method was generated by MyBatis Generator. This method returns the value of the database column banners.api_url
  103. * @return the value of banners.api_url
  104. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  105. */
  106. public String getApiUrl() {
  107. return apiUrl;
  108. }
  109. /**
  110. * This method was generated by MyBatis Generator. This method sets the value of the database column banners.api_url
  111. * @param apiUrl the value for banners.api_url
  112. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  113. */
  114. public void setApiUrl(String apiUrl) {
  115. this.apiUrl = apiUrl;
  116. }
  117. /**
  118. * This method was generated by MyBatis Generator. This method returns the value of the database column banners.forward_url
  119. * @return the value of banners.forward_url
  120. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  121. */
  122. public String getForwardUrl() {
  123. return forwardUrl;
  124. }
  125. /**
  126. * This method was generated by MyBatis Generator. This method sets the value of the database column banners.forward_url
  127. * @param forwardUrl the value for banners.forward_url
  128. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  129. */
  130. public void setForwardUrl(String forwardUrl) {
  131. this.forwardUrl = forwardUrl;
  132. }
  133. /**
  134. * This method was generated by MyBatis Generator. This method returns the value of the database column banners.width
  135. * @return the value of banners.width
  136. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  137. */
  138. public Integer getWidth() {
  139. return width;
  140. }
  141. /**
  142. * This method was generated by MyBatis Generator. This method sets the value of the database column banners.width
  143. * @param width the value for banners.width
  144. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  145. */
  146. public void setWidth(Integer width) {
  147. this.width = width;
  148. }
  149. /**
  150. * This method was generated by MyBatis Generator. This method returns the value of the database column banners.height
  151. * @return the value of banners.height
  152. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  153. */
  154. public Integer getHeight() {
  155. return height;
  156. }
  157. /**
  158. * This method was generated by MyBatis Generator. This method sets the value of the database column banners.height
  159. * @param height the value for banners.height
  160. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  161. */
  162. public void setHeight(Integer height) {
  163. this.height = height;
  164. }
  165. /**
  166. * This method was generated by MyBatis Generator. This method returns the value of the database column banners.client
  167. * @return the value of banners.client
  168. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  169. */
  170. public Integer getClient() {
  171. return client;
  172. }
  173. /**
  174. * This method was generated by MyBatis Generator. This method sets the value of the database column banners.client
  175. * @param client the value for banners.client
  176. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  177. */
  178. public void setClient(Integer client) {
  179. this.client = client;
  180. }
  181. /**
  182. * This method was generated by MyBatis Generator. This method returns the value of the database column banners.delete_sign
  183. * @return the value of banners.delete_sign
  184. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  185. */
  186. public Boolean getDeleteSign() {
  187. return deleteSign;
  188. }
  189. /**
  190. * This method was generated by MyBatis Generator. This method sets the value of the database column banners.delete_sign
  191. * @param deleteSign the value for banners.delete_sign
  192. * @mbg.generated Thu Aug 30 08:27:53 CST 2018
  193. */
  194. public void setDeleteSign(Boolean deleteSign) {
  195. this.deleteSign = deleteSign;
  196. }
  197. }