package com.goafanti.common.model;

import java.util.Date;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.Size;

import com.goafanti.common.constant.ErrorConstants;

public class JtKnowledgeBase {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column jt_knowledge_base.id
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    private String id;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column jt_knowledge_base.category
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    @Max(value = 5, message = "{" + ErrorConstants.PARAM_ERROR + "}")
	@Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
    private Integer category;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column jt_knowledge_base.title
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    @Size(min = 0, max = 64, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
    private String title;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column jt_knowledge_base.summary
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    @Size(min = 0, max = 128, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
    private String summary;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column jt_knowledge_base.source
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    @Size(min = 0, max = 128, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
    private String source;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column jt_knowledge_base.status
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    @Max(value = 3, message = "{" + ErrorConstants.PARAM_ERROR + "}")
	@Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
    private Integer status;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column jt_knowledge_base.create_time
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    private Date createTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column jt_knowledge_base.owner
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    private String owner;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column jt_knowledge_base.release_time
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    private Date releaseTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column jt_knowledge_base.read_number
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    private Integer readNumber;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column jt_knowledge_base.comment_number
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    private Integer commentNumber;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column jt_knowledge_base.star_number
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    private Integer starNumber;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column jt_knowledge_base.keyword
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    @Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
    private String keyword;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column jt_knowledge_base.pic_url
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    @Size(min = 0, max = 128, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
    private String picUrl;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column jt_knowledge_base.top
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    @Max(value = 1, message = "{" + ErrorConstants.PARAM_ERROR + "}")
	@Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
    private Integer top;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column jt_knowledge_base.recommend
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    @Max(value = 1, message = "{" + ErrorConstants.PARAM_ERROR + "}")
	@Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
    private Integer recommend;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column jt_knowledge_base.content
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    private String content;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column jt_knowledge_base.id
     *
     * @return the value of jt_knowledge_base.id
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public String getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column jt_knowledge_base.id
     *
     * @param id the value for jt_knowledge_base.id
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column jt_knowledge_base.category
     *
     * @return the value of jt_knowledge_base.category
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public Integer getCategory() {
        return category;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column jt_knowledge_base.category
     *
     * @param category the value for jt_knowledge_base.category
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public void setCategory(Integer category) {
        this.category = category;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column jt_knowledge_base.title
     *
     * @return the value of jt_knowledge_base.title
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public String getTitle() {
        return title;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column jt_knowledge_base.title
     *
     * @param title the value for jt_knowledge_base.title
     *
     * @mbggenerated Wed Nov 07 10:11:18 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_knowledge_base.summary
     *
     * @return the value of jt_knowledge_base.summary
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public String getSummary() {
        return summary;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column jt_knowledge_base.summary
     *
     * @param summary the value for jt_knowledge_base.summary
     *
     * @mbggenerated Wed Nov 07 10:11:18 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 jt_knowledge_base.source
     *
     * @return the value of jt_knowledge_base.source
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public String getSource() {
        return source;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column jt_knowledge_base.source
     *
     * @param source the value for jt_knowledge_base.source
     *
     * @mbggenerated Wed Nov 07 10:11:18 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 jt_knowledge_base.status
     *
     * @return the value of jt_knowledge_base.status
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column jt_knowledge_base.status
     *
     * @param status the value for jt_knowledge_base.status
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column jt_knowledge_base.create_time
     *
     * @return the value of jt_knowledge_base.create_time
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column jt_knowledge_base.create_time
     *
     * @param createTime the value for jt_knowledge_base.create_time
     *
     * @mbggenerated Wed Nov 07 10:11:18 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 jt_knowledge_base.owner
     *
     * @return the value of jt_knowledge_base.owner
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public String getOwner() {
        return owner;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column jt_knowledge_base.owner
     *
     * @param owner the value for jt_knowledge_base.owner
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public void setOwner(String owner) {
        this.owner = owner;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column jt_knowledge_base.release_time
     *
     * @return the value of jt_knowledge_base.release_time
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public Date getReleaseTime() {
        return releaseTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column jt_knowledge_base.release_time
     *
     * @param releaseTime the value for jt_knowledge_base.release_time
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public void setReleaseTime(Date releaseTime) {
        this.releaseTime = releaseTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column jt_knowledge_base.read_number
     *
     * @return the value of jt_knowledge_base.read_number
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public Integer getReadNumber() {
        return readNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column jt_knowledge_base.read_number
     *
     * @param readNumber the value for jt_knowledge_base.read_number
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public void setReadNumber(Integer readNumber) {
        this.readNumber = readNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column jt_knowledge_base.comment_number
     *
     * @return the value of jt_knowledge_base.comment_number
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public Integer getCommentNumber() {
        return commentNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column jt_knowledge_base.comment_number
     *
     * @param commentNumber the value for jt_knowledge_base.comment_number
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public void setCommentNumber(Integer commentNumber) {
        this.commentNumber = commentNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column jt_knowledge_base.star_number
     *
     * @return the value of jt_knowledge_base.star_number
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public Integer getStarNumber() {
        return starNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column jt_knowledge_base.star_number
     *
     * @param starNumber the value for jt_knowledge_base.star_number
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public void setStarNumber(Integer starNumber) {
        this.starNumber = starNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column jt_knowledge_base.keyword
     *
     * @return the value of jt_knowledge_base.keyword
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public String getKeyword() {
        return keyword;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column jt_knowledge_base.keyword
     *
     * @param keyword the value for jt_knowledge_base.keyword
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column jt_knowledge_base.pic_url
     *
     * @return the value of jt_knowledge_base.pic_url
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public String getPicUrl() {
        return picUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column jt_knowledge_base.pic_url
     *
     * @param picUrl the value for jt_knowledge_base.pic_url
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column jt_knowledge_base.top
     *
     * @return the value of jt_knowledge_base.top
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public Integer getTop() {
        return top;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column jt_knowledge_base.top
     *
     * @param top the value for jt_knowledge_base.top
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public void setTop(Integer top) {
        this.top = top;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column jt_knowledge_base.recommend
     *
     * @return the value of jt_knowledge_base.recommend
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public Integer getRecommend() {
        return recommend;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column jt_knowledge_base.recommend
     *
     * @param recommend the value for jt_knowledge_base.recommend
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public void setRecommend(Integer recommend) {
        this.recommend = recommend;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column jt_knowledge_base.content
     *
     * @return the value of jt_knowledge_base.content
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public String getContent() {
        return content;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column jt_knowledge_base.content
     *
     * @param content the value for jt_knowledge_base.content
     *
     * @mbggenerated Wed Nov 07 10:11:18 CST 2018
     */
    public void setContent(String content) {
        this.content = content;
    }
}