Policy.java 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  1. package com.goafanti.common.model;
  2. import java.util.Date;
  3. import com.fasterxml.jackson.annotation.JsonFormat;
  4. import com.fasterxml.jackson.annotation.JsonFormat.Shape;
  5. public class Policy {
  6. /**
  7. * This field was generated by MyBatis Generator. This field corresponds to the database column policy.id
  8. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  9. */
  10. @JsonFormat(shape=Shape.STRING)
  11. private Long id;
  12. /**
  13. * This field was generated by MyBatis Generator. This field corresponds to the database column policy.create_time
  14. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  15. */
  16. private Date createTime;
  17. /**
  18. * This field was generated by MyBatis Generator. This field corresponds to the database column policy.edit_time
  19. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  20. */
  21. private Date editTime;
  22. /**
  23. * This field was generated by MyBatis Generator. This field corresponds to the database column policy.title
  24. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  25. */
  26. private String title;
  27. /**
  28. * This field was generated by MyBatis Generator. This field corresponds to the database column policy.title_img
  29. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  30. */
  31. private String titleImg;
  32. /**
  33. * This field was generated by MyBatis Generator. This field corresponds to the database column policy.author
  34. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  35. */
  36. private String author;
  37. /**
  38. * This field was generated by MyBatis Generator. This field corresponds to the database column policy.type
  39. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  40. */
  41. private Integer type;
  42. /**
  43. * This field was generated by MyBatis Generator. This field corresponds to the database column policy.source
  44. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  45. */
  46. private String source;
  47. /**
  48. * This field was generated by MyBatis Generator. This field corresponds to the database column policy.source_url
  49. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  50. */
  51. private String sourceUrl;
  52. /**
  53. * This field was generated by MyBatis Generator. This field corresponds to the database column policy.summary
  54. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  55. */
  56. private String summary;
  57. /**
  58. * This field was generated by MyBatis Generator. This field corresponds to the database column policy.audit_status
  59. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  60. */
  61. private Integer auditStatus;
  62. /**
  63. * This field was generated by MyBatis Generator. This field corresponds to the database column policy.hot
  64. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  65. */
  66. private Integer hot;
  67. /**
  68. * This field was generated by MyBatis Generator. This field corresponds to the database column policy.province
  69. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  70. */
  71. private Integer province;
  72. /**
  73. * This field was generated by MyBatis Generator. This field corresponds to the database column policy.city
  74. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  75. */
  76. private Integer city;
  77. /**
  78. * This field was generated by MyBatis Generator. This field corresponds to the database column policy.release_date
  79. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  80. */
  81. private Date releaseDate;
  82. /**
  83. * This field was generated by MyBatis Generator. This field corresponds to the database column policy.content
  84. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  85. */
  86. private String content;
  87. private String keyword;
  88. /**
  89. * This method was generated by MyBatis Generator. This method returns the value of the database column policy.id
  90. * @return the value of policy.id
  91. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  92. */
  93. public Long getId() {
  94. return id;
  95. }
  96. /**
  97. * This method was generated by MyBatis Generator. This method sets the value of the database column policy.id
  98. * @param id the value for policy.id
  99. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  100. */
  101. public void setId(Long id) {
  102. this.id = id;
  103. }
  104. /**
  105. * This method was generated by MyBatis Generator. This method returns the value of the database column policy.create_time
  106. * @return the value of policy.create_time
  107. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  108. */
  109. public Date getCreateTime() {
  110. return createTime;
  111. }
  112. /**
  113. * This method was generated by MyBatis Generator. This method sets the value of the database column policy.create_time
  114. * @param createTime the value for policy.create_time
  115. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  116. */
  117. public void setCreateTime(Date createTime) {
  118. this.createTime = createTime;
  119. }
  120. /**
  121. * This method was generated by MyBatis Generator. This method returns the value of the database column policy.edit_time
  122. * @return the value of policy.edit_time
  123. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  124. */
  125. public Date getEditTime() {
  126. return editTime;
  127. }
  128. /**
  129. * This method was generated by MyBatis Generator. This method sets the value of the database column policy.edit_time
  130. * @param editTime the value for policy.edit_time
  131. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  132. */
  133. public void setEditTime(Date editTime) {
  134. this.editTime = editTime;
  135. }
  136. /**
  137. * This method was generated by MyBatis Generator. This method returns the value of the database column policy.title
  138. * @return the value of policy.title
  139. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  140. */
  141. public String getTitle() {
  142. return title;
  143. }
  144. /**
  145. * This method was generated by MyBatis Generator. This method sets the value of the database column policy.title
  146. * @param title the value for policy.title
  147. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  148. */
  149. public void setTitle(String title) {
  150. this.title = title;
  151. }
  152. /**
  153. * This method was generated by MyBatis Generator. This method returns the value of the database column policy.title_img
  154. * @return the value of policy.title_img
  155. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  156. */
  157. public String getTitleImg() {
  158. return titleImg;
  159. }
  160. /**
  161. * This method was generated by MyBatis Generator. This method sets the value of the database column policy.title_img
  162. * @param titleImg the value for policy.title_img
  163. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  164. */
  165. public void setTitleImg(String titleImg) {
  166. this.titleImg = titleImg;
  167. }
  168. /**
  169. * This method was generated by MyBatis Generator. This method returns the value of the database column policy.author
  170. * @return the value of policy.author
  171. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  172. */
  173. public String getAuthor() {
  174. return author;
  175. }
  176. /**
  177. * This method was generated by MyBatis Generator. This method sets the value of the database column policy.author
  178. * @param author the value for policy.author
  179. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  180. */
  181. public void setAuthor(String author) {
  182. this.author = author;
  183. }
  184. /**
  185. * This method was generated by MyBatis Generator. This method returns the value of the database column policy.type
  186. * @return the value of policy.type
  187. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  188. */
  189. public Integer getType() {
  190. return type;
  191. }
  192. /**
  193. * This method was generated by MyBatis Generator. This method sets the value of the database column policy.type
  194. * @param type the value for policy.type
  195. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  196. */
  197. public void setType(Integer type) {
  198. this.type = type;
  199. }
  200. /**
  201. * This method was generated by MyBatis Generator. This method returns the value of the database column policy.source
  202. * @return the value of policy.source
  203. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  204. */
  205. public String getSource() {
  206. return source;
  207. }
  208. /**
  209. * This method was generated by MyBatis Generator. This method sets the value of the database column policy.source
  210. * @param source the value for policy.source
  211. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  212. */
  213. public void setSource(String source) {
  214. this.source = source;
  215. }
  216. /**
  217. * This method was generated by MyBatis Generator. This method returns the value of the database column policy.source_url
  218. * @return the value of policy.source_url
  219. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  220. */
  221. public String getSourceUrl() {
  222. return sourceUrl;
  223. }
  224. /**
  225. * This method was generated by MyBatis Generator. This method sets the value of the database column policy.source_url
  226. * @param sourceUrl the value for policy.source_url
  227. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  228. */
  229. public void setSourceUrl(String sourceUrl) {
  230. this.sourceUrl = sourceUrl;
  231. }
  232. /**
  233. * This method was generated by MyBatis Generator. This method returns the value of the database column policy.summary
  234. * @return the value of policy.summary
  235. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  236. */
  237. public String getSummary() {
  238. return summary;
  239. }
  240. /**
  241. * This method was generated by MyBatis Generator. This method sets the value of the database column policy.summary
  242. * @param summary the value for policy.summary
  243. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  244. */
  245. public void setSummary(String summary) {
  246. this.summary = summary;
  247. }
  248. /**
  249. * This method was generated by MyBatis Generator. This method returns the value of the database column policy.audit_status
  250. * @return the value of policy.audit_status
  251. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  252. */
  253. public Integer getAuditStatus() {
  254. return auditStatus;
  255. }
  256. /**
  257. * This method was generated by MyBatis Generator. This method sets the value of the database column policy.audit_status
  258. * @param auditStatus the value for policy.audit_status
  259. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  260. */
  261. public void setAuditStatus(Integer auditStatus) {
  262. this.auditStatus = auditStatus;
  263. }
  264. /**
  265. * This method was generated by MyBatis Generator. This method returns the value of the database column policy.hot
  266. * @return the value of policy.hot
  267. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  268. */
  269. public Integer getHot() {
  270. return hot;
  271. }
  272. /**
  273. * This method was generated by MyBatis Generator. This method sets the value of the database column policy.hot
  274. * @param hot the value for policy.hot
  275. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  276. */
  277. public void setHot(Integer hot) {
  278. this.hot = hot;
  279. }
  280. /**
  281. * This method was generated by MyBatis Generator. This method returns the value of the database column policy.province
  282. * @return the value of policy.province
  283. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  284. */
  285. public Integer getProvince() {
  286. return province;
  287. }
  288. /**
  289. * This method was generated by MyBatis Generator. This method sets the value of the database column policy.province
  290. * @param province the value for policy.province
  291. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  292. */
  293. public void setProvince(Integer province) {
  294. this.province = province;
  295. }
  296. /**
  297. * This method was generated by MyBatis Generator. This method returns the value of the database column policy.city
  298. * @return the value of policy.city
  299. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  300. */
  301. public Integer getCity() {
  302. return city;
  303. }
  304. /**
  305. * This method was generated by MyBatis Generator. This method sets the value of the database column policy.city
  306. * @param city the value for policy.city
  307. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  308. */
  309. public void setCity(Integer city) {
  310. this.city = city;
  311. }
  312. /**
  313. * This method was generated by MyBatis Generator. This method returns the value of the database column policy.release_date
  314. * @return the value of policy.release_date
  315. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  316. */
  317. public Date getReleaseDate() {
  318. return releaseDate;
  319. }
  320. /**
  321. * This method was generated by MyBatis Generator. This method sets the value of the database column policy.release_date
  322. * @param releaseDate the value for policy.release_date
  323. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  324. */
  325. public void setReleaseDate(Date releaseDate) {
  326. this.releaseDate = releaseDate;
  327. }
  328. /**
  329. * This method was generated by MyBatis Generator. This method returns the value of the database column policy.content
  330. * @return the value of policy.content
  331. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  332. */
  333. public String getContent() {
  334. return content;
  335. }
  336. /**
  337. * This method was generated by MyBatis Generator. This method sets the value of the database column policy.content
  338. * @param content the value for policy.content
  339. * @mbg.generated Thu Jun 28 16:23:43 CST 2018
  340. */
  341. public void setContent(String content) {
  342. this.content = content;
  343. }
  344. public String getKeyword() {
  345. return keyword;
  346. }
  347. public void setKeyword(String keyword) {
  348. this.keyword = keyword;
  349. }
  350. }