JtCollectSearch.java 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. package com.goafanti.common.model;
  2. import com.goafanti.common.utils.StringUtils;
  3. public class JtCollectSearch {
  4. /**
  5. *
  6. * This field was generated by MyBatis Generator.
  7. * This field corresponds to the database column jt_collect_search.id
  8. *
  9. * @mbg.generated Mon Sep 10 14:08:59 CST 2018
  10. */
  11. private Integer id;
  12. /**
  13. *
  14. * This field was generated by MyBatis Generator.
  15. * This field corresponds to the database column jt_collect_search.from_table
  16. *
  17. * @mbg.generated Mon Sep 10 14:08:59 CST 2018
  18. */
  19. private String fromTable;
  20. /**
  21. *
  22. * This field was generated by MyBatis Generator.
  23. * This field corresponds to the database column jt_collect_search.row_id
  24. *
  25. * @mbg.generated Mon Sep 10 14:08:59 CST 2018
  26. */
  27. private String rowId;
  28. /**
  29. *
  30. * This field was generated by MyBatis Generator.
  31. * This field corresponds to the database column jt_collect_search.title
  32. *
  33. * @mbg.generated Mon Sep 10 14:08:59 CST 2018
  34. */
  35. private String title;
  36. /**
  37. *
  38. * This field was generated by MyBatis Generator.
  39. * This field corresponds to the database column jt_collect_search.keyword
  40. *
  41. * @mbg.generated Mon Sep 10 14:08:59 CST 2018
  42. */
  43. private String keyword;
  44. private String summary;
  45. /**
  46. * This method was generated by MyBatis Generator.
  47. * This method returns the value of the database column jt_collect_search.id
  48. *
  49. * @return the value of jt_collect_search.id
  50. *
  51. * @mbg.generated Mon Sep 10 14:08:59 CST 2018
  52. */
  53. public Integer getId() {
  54. return id;
  55. }
  56. /**
  57. * This method was generated by MyBatis Generator.
  58. * This method sets the value of the database column jt_collect_search.id
  59. *
  60. * @param id the value for jt_collect_search.id
  61. *
  62. * @mbg.generated Mon Sep 10 14:08:59 CST 2018
  63. */
  64. public void setId(Integer id) {
  65. this.id = id;
  66. }
  67. /**
  68. * This method was generated by MyBatis Generator.
  69. * This method returns the value of the database column jt_collect_search.from_table
  70. *
  71. * @return the value of jt_collect_search.from_table
  72. *
  73. * @mbg.generated Mon Sep 10 14:08:59 CST 2018
  74. */
  75. public String getFromTable() {
  76. return fromTable;
  77. }
  78. /**
  79. * This method was generated by MyBatis Generator.
  80. * This method sets the value of the database column jt_collect_search.from_table
  81. *
  82. * @param fromTable the value for jt_collect_search.from_table
  83. *
  84. * @mbg.generated Mon Sep 10 14:08:59 CST 2018
  85. */
  86. public void setFromTable(String fromTable) {
  87. this.fromTable = fromTable;
  88. }
  89. /**
  90. * This method was generated by MyBatis Generator.
  91. * This method returns the value of the database column jt_collect_search.row_id
  92. *
  93. * @return the value of jt_collect_search.row_id
  94. *
  95. * @mbg.generated Mon Sep 10 14:08:59 CST 2018
  96. */
  97. public String getRowId() {
  98. return rowId;
  99. }
  100. /**
  101. * This method was generated by MyBatis Generator.
  102. * This method sets the value of the database column jt_collect_search.row_id
  103. *
  104. * @param rowId the value for jt_collect_search.row_id
  105. *
  106. * @mbg.generated Mon Sep 10 14:08:59 CST 2018
  107. */
  108. public void setRowId(String rowId) {
  109. this.rowId = rowId;
  110. }
  111. /**
  112. * This method was generated by MyBatis Generator.
  113. * This method returns the value of the database column jt_collect_search.title
  114. *
  115. * @return the value of jt_collect_search.title
  116. *
  117. * @mbg.generated Mon Sep 10 14:08:59 CST 2018
  118. */
  119. public String getTitle() {
  120. return title;
  121. }
  122. /**
  123. * This method was generated by MyBatis Generator.
  124. * This method sets the value of the database column jt_collect_search.title
  125. *
  126. * @param title the value for jt_collect_search.title
  127. *
  128. * @mbg.generated Mon Sep 10 14:08:59 CST 2018
  129. */
  130. public void setTitle(String title) {
  131. this.title = title;
  132. }
  133. /**
  134. * This method was generated by MyBatis Generator.
  135. * This method returns the value of the database column jt_collect_search.keyword
  136. *
  137. * @return the value of jt_collect_search.keyword
  138. *
  139. * @mbg.generated Mon Sep 10 14:08:59 CST 2018
  140. */
  141. public String getKeyword() {
  142. if (StringUtils.isBlank(keyword)) {
  143. return "暂无";
  144. }
  145. return keyword;
  146. }
  147. /**
  148. * This method was generated by MyBatis Generator.
  149. * This method sets the value of the database column jt_collect_search.keyword
  150. *
  151. * @param keyword the value for jt_collect_search.keyword
  152. *
  153. * @mbg.generated Mon Sep 10 14:08:59 CST 2018
  154. */
  155. public void setKeyword(String keyword) {
  156. this.keyword = keyword;
  157. }
  158. public String getSummary() {
  159. if (StringUtils.isBlank(summary)) {
  160. return "暂无";
  161. }
  162. return summary;
  163. }
  164. public void setSummary(String summary) {
  165. this.summary = summary;
  166. }
  167. }