| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389 |
- package com.goafanti.common.model;
- import java.util.Date;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import com.fasterxml.jackson.annotation.JsonFormat.Shape;
- public class Policy {
- /**
- * This field was generated by MyBatis Generator. This field corresponds to the database column policy.id
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- @JsonFormat(shape=Shape.STRING)
- private Long id;
- /**
- * This field was generated by MyBatis Generator. This field corresponds to the database column policy.create_time
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- private Date createTime;
- /**
- * This field was generated by MyBatis Generator. This field corresponds to the database column policy.edit_time
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- private Date editTime;
- /**
- * This field was generated by MyBatis Generator. This field corresponds to the database column policy.title
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- private String title;
- /**
- * This field was generated by MyBatis Generator. This field corresponds to the database column policy.title_img
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- private String titleImg;
- /**
- * This field was generated by MyBatis Generator. This field corresponds to the database column policy.author
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- private String author;
- /**
- * This field was generated by MyBatis Generator. This field corresponds to the database column policy.type
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- private Integer type;
- /**
- * This field was generated by MyBatis Generator. This field corresponds to the database column policy.source
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- private String source;
- /**
- * This field was generated by MyBatis Generator. This field corresponds to the database column policy.source_url
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- private String sourceUrl;
- /**
- * This field was generated by MyBatis Generator. This field corresponds to the database column policy.summary
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- private String summary;
- /**
- * This field was generated by MyBatis Generator. This field corresponds to the database column policy.audit_status
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- private Integer auditStatus;
- /**
- * This field was generated by MyBatis Generator. This field corresponds to the database column policy.hot
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- private Integer hot;
- /**
- * This field was generated by MyBatis Generator. This field corresponds to the database column policy.province
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- private Integer province;
- /**
- * This field was generated by MyBatis Generator. This field corresponds to the database column policy.city
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- private Integer city;
- /**
- * This field was generated by MyBatis Generator. This field corresponds to the database column policy.release_date
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- private Date releaseDate;
- /**
- * This field was generated by MyBatis Generator. This field corresponds to the database column policy.content
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- private String content;
-
- private String keyword;
- /**
- * This method was generated by MyBatis Generator. This method returns the value of the database column policy.id
- * @return the value of policy.id
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public Long getId() {
- return id;
- }
- /**
- * This method was generated by MyBatis Generator. This method sets the value of the database column policy.id
- * @param id the value for policy.id
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public void setId(Long id) {
- this.id = id;
- }
- /**
- * This method was generated by MyBatis Generator. This method returns the value of the database column policy.create_time
- * @return the value of policy.create_time
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public Date getCreateTime() {
- return createTime;
- }
- /**
- * This method was generated by MyBatis Generator. This method sets the value of the database column policy.create_time
- * @param createTime the value for policy.create_time
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public void setCreateTime(Date createTime) {
- this.createTime = createTime;
- }
- /**
- * This method was generated by MyBatis Generator. This method returns the value of the database column policy.edit_time
- * @return the value of policy.edit_time
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public Date getEditTime() {
- return editTime;
- }
- /**
- * This method was generated by MyBatis Generator. This method sets the value of the database column policy.edit_time
- * @param editTime the value for policy.edit_time
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public void setEditTime(Date editTime) {
- this.editTime = editTime;
- }
- /**
- * This method was generated by MyBatis Generator. This method returns the value of the database column policy.title
- * @return the value of policy.title
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public String getTitle() {
- return title;
- }
- /**
- * This method was generated by MyBatis Generator. This method sets the value of the database column policy.title
- * @param title the value for policy.title
- * @mbg.generated Thu Jun 28 16:23:43 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 policy.title_img
- * @return the value of policy.title_img
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public String getTitleImg() {
- return titleImg;
- }
- /**
- * This method was generated by MyBatis Generator. This method sets the value of the database column policy.title_img
- * @param titleImg the value for policy.title_img
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public void setTitleImg(String titleImg) {
- this.titleImg = titleImg;
- }
- /**
- * This method was generated by MyBatis Generator. This method returns the value of the database column policy.author
- * @return the value of policy.author
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public String getAuthor() {
- return author;
- }
- /**
- * This method was generated by MyBatis Generator. This method sets the value of the database column policy.author
- * @param author the value for policy.author
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public void setAuthor(String author) {
- this.author = author;
- }
- /**
- * This method was generated by MyBatis Generator. This method returns the value of the database column policy.type
- * @return the value of policy.type
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public Integer getType() {
- return type;
- }
- /**
- * This method was generated by MyBatis Generator. This method sets the value of the database column policy.type
- * @param type the value for policy.type
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public void setType(Integer type) {
- this.type = type;
- }
- /**
- * This method was generated by MyBatis Generator. This method returns the value of the database column policy.source
- * @return the value of policy.source
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public String getSource() {
- return source;
- }
- /**
- * This method was generated by MyBatis Generator. This method sets the value of the database column policy.source
- * @param source the value for policy.source
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public void setSource(String source) {
- this.source = source;
- }
- /**
- * This method was generated by MyBatis Generator. This method returns the value of the database column policy.source_url
- * @return the value of policy.source_url
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public String getSourceUrl() {
- return sourceUrl;
- }
- /**
- * This method was generated by MyBatis Generator. This method sets the value of the database column policy.source_url
- * @param sourceUrl the value for policy.source_url
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public void setSourceUrl(String sourceUrl) {
- this.sourceUrl = sourceUrl;
- }
- /**
- * This method was generated by MyBatis Generator. This method returns the value of the database column policy.summary
- * @return the value of policy.summary
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public String getSummary() {
- return summary;
- }
- /**
- * This method was generated by MyBatis Generator. This method sets the value of the database column policy.summary
- * @param summary the value for policy.summary
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public void setSummary(String summary) {
- this.summary = summary;
- }
- /**
- * This method was generated by MyBatis Generator. This method returns the value of the database column policy.audit_status
- * @return the value of policy.audit_status
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public Integer getAuditStatus() {
- return auditStatus;
- }
- /**
- * This method was generated by MyBatis Generator. This method sets the value of the database column policy.audit_status
- * @param auditStatus the value for policy.audit_status
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public void setAuditStatus(Integer auditStatus) {
- this.auditStatus = auditStatus;
- }
- /**
- * This method was generated by MyBatis Generator. This method returns the value of the database column policy.hot
- * @return the value of policy.hot
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public Integer getHot() {
- return hot;
- }
- /**
- * This method was generated by MyBatis Generator. This method sets the value of the database column policy.hot
- * @param hot the value for policy.hot
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public void setHot(Integer hot) {
- this.hot = hot;
- }
- /**
- * This method was generated by MyBatis Generator. This method returns the value of the database column policy.province
- * @return the value of policy.province
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public Integer getProvince() {
- return province;
- }
- /**
- * This method was generated by MyBatis Generator. This method sets the value of the database column policy.province
- * @param province the value for policy.province
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public void setProvince(Integer province) {
- this.province = province;
- }
- /**
- * This method was generated by MyBatis Generator. This method returns the value of the database column policy.city
- * @return the value of policy.city
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public Integer getCity() {
- return city;
- }
- /**
- * This method was generated by MyBatis Generator. This method sets the value of the database column policy.city
- * @param city the value for policy.city
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public void setCity(Integer city) {
- this.city = city;
- }
- /**
- * This method was generated by MyBatis Generator. This method returns the value of the database column policy.release_date
- * @return the value of policy.release_date
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public Date getReleaseDate() {
- return releaseDate;
- }
- /**
- * This method was generated by MyBatis Generator. This method sets the value of the database column policy.release_date
- * @param releaseDate the value for policy.release_date
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public void setReleaseDate(Date releaseDate) {
- this.releaseDate = releaseDate;
- }
- /**
- * This method was generated by MyBatis Generator. This method returns the value of the database column policy.content
- * @return the value of policy.content
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public String getContent() {
- return content;
- }
- /**
- * This method was generated by MyBatis Generator. This method sets the value of the database column policy.content
- * @param content the value for policy.content
- * @mbg.generated Thu Jun 28 16:23:43 CST 2018
- */
- public void setContent(String content) {
- this.content = content;
- }
- public String getKeyword() {
- return keyword;
- }
- public void setKeyword(String keyword) {
- this.keyword = keyword;
- }
- }
|