package com.ruoyi.web.modules.farming.domain;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 综合牧业知识条目 biz_livestock_knowledge
 */
public class BizLivestockKnowledge extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    @NotBlank(message = "知识标题不能为空")
    @Size(min = 1, max = 20, message = "知识标题长度为1到20个字符")
    private String knowledgeTitle;

    @NotNull(message = "知识主题不能为空")
    private Integer knowledgeTopic;

    @Size(max = 50, message = "知识简介不能超过50个字符")
    private String introduction;

    @NotBlank(message = "正文访问地址不能为空")
    private String contentFileUrl;

    @NotBlank(message = "正文存储路径不能为空")
    private String contentFilePath;

    @NotBlank(message = "正文附件名称不能为空")
    private String contentFileName;

    private Integer kbSyncStatus;

    private String kbDocId;

    private String delFlag;

    /** 列表检索：标题或简介模糊 */
    private String keyword;

    public Long getId()
    {
        return id;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public String getKnowledgeTitle()
    {
        return knowledgeTitle;
    }

    public void setKnowledgeTitle(String knowledgeTitle)
    {
        this.knowledgeTitle = knowledgeTitle;
    }

    public Integer getKnowledgeTopic()
    {
        return knowledgeTopic;
    }

    public void setKnowledgeTopic(Integer knowledgeTopic)
    {
        this.knowledgeTopic = knowledgeTopic;
    }

    public String getIntroduction()
    {
        return introduction;
    }

    public void setIntroduction(String introduction)
    {
        this.introduction = introduction;
    }

    public String getContentFileUrl()
    {
        return contentFileUrl;
    }

    public void setContentFileUrl(String contentFileUrl)
    {
        this.contentFileUrl = contentFileUrl;
    }

    public String getContentFilePath()
    {
        return contentFilePath;
    }

    public void setContentFilePath(String contentFilePath)
    {
        this.contentFilePath = contentFilePath;
    }

    public String getContentFileName()
    {
        return contentFileName;
    }

    public void setContentFileName(String contentFileName)
    {
        this.contentFileName = contentFileName;
    }

    public Integer getKbSyncStatus()
    {
        return kbSyncStatus;
    }

    public void setKbSyncStatus(Integer kbSyncStatus)
    {
        this.kbSyncStatus = kbSyncStatus;
    }

    public String getKbDocId()
    {
        return kbDocId;
    }

    public void setKbDocId(String kbDocId)
    {
        this.kbDocId = kbDocId;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getKeyword()
    {
        return keyword;
    }

    public void setKeyword(String keyword)
    {
        this.keyword = keyword;
    }
}
