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

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

/**
 * 项目与补贴-补贴 biz_subsidy_matter
 */
public class BizSubsidyMatter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

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

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

    private Integer grantStatus;

    @NotBlank(message = "补贴明细附件不能为空")
    private String detailFileUrl;

    @NotBlank(message = "补贴明细附件路径不能为空")
    private String detailFilePath;

    @NotBlank(message = "补贴明细附件名称不能为空")
    private String detailFileName;

    private String coverFileUrl;

    private String coverFilePath;

    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 getSubsidyName()
    {
        return subsidyName;
    }

    public void setSubsidyName(String subsidyName)
    {
        this.subsidyName = subsidyName;
    }

    public String getIntroduction()
    {
        return introduction;
    }

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

    public Integer getGrantStatus()
    {
        return grantStatus;
    }

    public void setGrantStatus(Integer grantStatus)
    {
        this.grantStatus = grantStatus;
    }

    public String getDetailFileUrl()
    {
        return detailFileUrl;
    }

    public void setDetailFileUrl(String detailFileUrl)
    {
        this.detailFileUrl = detailFileUrl;
    }

    public String getDetailFilePath()
    {
        return detailFilePath;
    }

    public void setDetailFilePath(String detailFilePath)
    {
        this.detailFilePath = detailFilePath;
    }

    public String getDetailFileName()
    {
        return detailFileName;
    }

    public void setDetailFileName(String detailFileName)
    {
        this.detailFileName = detailFileName;
    }

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