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

import java.math.BigDecimal;
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_subsidy_grant_record
 */
public class BizSubsidyGrantRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

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

    @NotNull(message = "补贴类型不能为空")
    private Integer subsidyType;

    @NotBlank(message = "受补贴人姓名不能为空")
    @Size(min = 1, max = 10, message = "受补贴人姓名长度为1到10个字符")
    private String recipientName;

    @NotBlank(message = "身份证号不能为空")
    private String idCard;

    @NotBlank(message = "联系电话不能为空")
    private String contactPhone;

    @NotBlank(message = "银行账户不能为空")
    private String bankAccount;

    @NotNull(message = "补贴金额不能为空")
    private BigDecimal subsidyAmount;

    @NotNull(message = "发放日期不能为空")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date grantDate;

    /** 列表查询：发放日期起 yyyy-MM-dd */
    private String startDate;

    /** 列表查询：发放日期止 yyyy-MM-dd */
    private String endDate;

    public Long getId()
    {
        return id;
    }

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

    public String getSubsidyProjectName()
    {
        return subsidyProjectName;
    }

    public void setSubsidyProjectName(String subsidyProjectName)
    {
        this.subsidyProjectName = subsidyProjectName;
    }

    public Integer getSubsidyType()
    {
        return subsidyType;
    }

    public void setSubsidyType(Integer subsidyType)
    {
        this.subsidyType = subsidyType;
    }

    public String getRecipientName()
    {
        return recipientName;
    }

    public void setRecipientName(String recipientName)
    {
        this.recipientName = recipientName;
    }

    public String getIdCard()
    {
        return idCard;
    }

    public void setIdCard(String idCard)
    {
        this.idCard = idCard;
    }

    public String getContactPhone()
    {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone)
    {
        this.contactPhone = contactPhone;
    }

    public String getBankAccount()
    {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount)
    {
        this.bankAccount = bankAccount;
    }

    public BigDecimal getSubsidyAmount()
    {
        return subsidyAmount;
    }

    public void setSubsidyAmount(BigDecimal subsidyAmount)
    {
        this.subsidyAmount = subsidyAmount;
    }

    public Date getGrantDate()
    {
        return grantDate;
    }

    public void setGrantDate(Date grantDate)
    {
        this.grantDate = grantDate;
    }

    public String getStartDate()
    {
        return startDate;
    }

    public void setStartDate(String startDate)
    {
        this.startDate = startDate;
    }

    public String getEndDate()
    {
        return endDate;
    }

    public void setEndDate(String endDate)
    {
        this.endDate = endDate;
    }
}
