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

import java.util.Date;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 养殖标准 biz_breeding_standard
 */
public class BizBreedingStandard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    @NotBlank(message = "标准名称不能为空")
    @Size(min = 1, max = 20, message = "标准名称长度为1到20个字符")
    private String standardName;

    @NotBlank(message = "标准类型不能为空")
    private String standardType;

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

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

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

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

    private String coverFileUrl;

    private String coverFilePath;

    private Integer publishStatus;

    private Integer kbSyncStatus;

    private String kbDocId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date publishTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date offlineTime;

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

    public Long getId()
    {
        return id;
    }

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

    public String getStandardName()
    {
        return standardName;
    }

    public void setStandardName(String standardName)
    {
        this.standardName = standardName;
    }

    public String getStandardType()
    {
        return standardType;
    }

    public void setStandardType(String standardType)
    {
        this.standardType = standardType;
    }

    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 String getCoverFileUrl()
    {
        return coverFileUrl;
    }

    public void setCoverFileUrl(String coverFileUrl)
    {
        this.coverFileUrl = coverFileUrl;
    }

    public String getCoverFilePath()
    {
        return coverFilePath;
    }

    public void setCoverFilePath(String coverFilePath)
    {
        this.coverFilePath = coverFilePath;
    }

    public Integer getPublishStatus()
    {
        return publishStatus;
    }

    public void setPublishStatus(Integer publishStatus)
    {
        this.publishStatus = publishStatus;
    }

    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 Date getPublishTime()
    {
        return publishTime;
    }

    public void setPublishTime(Date publishTime)
    {
        this.publishTime = publishTime;
    }

    public Date getOfflineTime()
    {
        return offlineTime;
    }

    public void setOfflineTime(Date offlineTime)
    {
        this.offlineTime = offlineTime;
    }

    public String getKeyword()
    {
        return keyword;
    }

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