| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188 |
- package com.goafanti.common.model;
- import com.goafanti.common.utils.StringUtils;
- public class JtCollectSearch {
- /**
- *
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column jt_collect_search.id
- *
- * @mbg.generated Mon Sep 10 14:08:59 CST 2018
- */
- private Integer id;
- /**
- *
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column jt_collect_search.from_table
- *
- * @mbg.generated Mon Sep 10 14:08:59 CST 2018
- */
- private String fromTable;
- /**
- *
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column jt_collect_search.row_id
- *
- * @mbg.generated Mon Sep 10 14:08:59 CST 2018
- */
- private String rowId;
- /**
- *
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column jt_collect_search.title
- *
- * @mbg.generated Mon Sep 10 14:08:59 CST 2018
- */
- private String title;
- /**
- *
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column jt_collect_search.keyword
- *
- * @mbg.generated Mon Sep 10 14:08:59 CST 2018
- */
- private String keyword;
-
- private String summary;
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column jt_collect_search.id
- *
- * @return the value of jt_collect_search.id
- *
- * @mbg.generated Mon Sep 10 14:08:59 CST 2018
- */
- public Integer getId() {
- return id;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column jt_collect_search.id
- *
- * @param id the value for jt_collect_search.id
- *
- * @mbg.generated Mon Sep 10 14:08:59 CST 2018
- */
- public void setId(Integer id) {
- this.id = id;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column jt_collect_search.from_table
- *
- * @return the value of jt_collect_search.from_table
- *
- * @mbg.generated Mon Sep 10 14:08:59 CST 2018
- */
- public String getFromTable() {
- return fromTable;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column jt_collect_search.from_table
- *
- * @param fromTable the value for jt_collect_search.from_table
- *
- * @mbg.generated Mon Sep 10 14:08:59 CST 2018
- */
- public void setFromTable(String fromTable) {
- this.fromTable = fromTable;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column jt_collect_search.row_id
- *
- * @return the value of jt_collect_search.row_id
- *
- * @mbg.generated Mon Sep 10 14:08:59 CST 2018
- */
- public String getRowId() {
- return rowId;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column jt_collect_search.row_id
- *
- * @param rowId the value for jt_collect_search.row_id
- *
- * @mbg.generated Mon Sep 10 14:08:59 CST 2018
- */
- public void setRowId(String rowId) {
- this.rowId = rowId;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column jt_collect_search.title
- *
- * @return the value of jt_collect_search.title
- *
- * @mbg.generated Mon Sep 10 14:08:59 CST 2018
- */
- public String getTitle() {
- return title;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column jt_collect_search.title
- *
- * @param title the value for jt_collect_search.title
- *
- * @mbg.generated Mon Sep 10 14:08:59 CST 2018
- */
- public void setTitle(String title) {
- this.title = title;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column jt_collect_search.keyword
- *
- * @return the value of jt_collect_search.keyword
- *
- * @mbg.generated Mon Sep 10 14:08:59 CST 2018
- */
- public String getKeyword() {
- if (StringUtils.isBlank(keyword)) {
- return "暂无";
- }
- return keyword;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column jt_collect_search.keyword
- *
- * @param keyword the value for jt_collect_search.keyword
- *
- * @mbg.generated Mon Sep 10 14:08:59 CST 2018
- */
- public void setKeyword(String keyword) {
- this.keyword = keyword;
- }
- public String getSummary() {
- if (StringUtils.isBlank(summary)) {
- return "暂无";
- }
- return summary;
- }
- public void setSummary(String summary) {
- this.summary = summary;
- }
-
-
- }
|