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

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

/**
 * 产业政策宣传 biz_industry_policy_publicity
 */
public class BizIndustryPolicyPublicity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

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

    @NotNull(message = "政策层级不能为空")
    private Integer policyLevel;

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

    @NotNull(message = "出台日期不能为空")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date issueDate;

    @NotBlank(message = "政策描述不能为空")
    @Size(min = 1, max = 50, message = "政策描述长度为1到50个字符")
    private String policyDesc;

    private String policyFileUrl;

    private String policyFilePath;

    private String policyFileName;

    private String coverFileUrl;

    private String coverFilePath;

    /** 0 未发布 1 已发布 */
    private Integer publishStatus;

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

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

    /** 列表：政策名称或简介 OR 模糊 */
    private String keyword;

    public Long getId()
    {
        return id;
    }

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

    public String getPolicyName()
    {
        return policyName;
    }

    public void setPolicyName(String policyName)
    {
        this.policyName = policyName;
    }

    public Integer getPolicyLevel()
    {
        return policyLevel;
    }

    public void setPolicyLevel(Integer policyLevel)
    {
        this.policyLevel = policyLevel;
    }

    public String getIntroduction()
    {
        return introduction;
    }

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

    public Date getIssueDate()
    {
        return issueDate;
    }

    public void setIssueDate(Date issueDate)
    {
        this.issueDate = issueDate;
    }

    public String getPolicyDesc()
    {
        return policyDesc;
    }

    public void setPolicyDesc(String policyDesc)
    {
        this.policyDesc = policyDesc;
    }

    public String getPolicyFileUrl()
    {
        return policyFileUrl;
    }

    public void setPolicyFileUrl(String policyFileUrl)
    {
        this.policyFileUrl = policyFileUrl;
    }

    public String getPolicyFilePath()
    {
        return policyFilePath;
    }

    public void setPolicyFilePath(String policyFilePath)
    {
        this.policyFilePath = policyFilePath;
    }

    public String getPolicyFileName()
    {
        return policyFileName;
    }

    public void setPolicyFileName(String policyFileName)
    {
        this.policyFileName = policyFileName;
    }

    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 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;
    }
}
