package com.ruoyi.web.modules.industryservice.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_grassland
 */
public class BizGrassland extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    @NotBlank(message = "草场名称不能为空")
    @Size(min = 1, max = 10, message = "草场名称长度为1到10个字符")
    private String grasslandName;

    @NotNull(message = "面积不能为空")
    private BigDecimal areaMu;

    /** 禁牧面积（亩），选填 */
    private BigDecimal grazingBanArea;

    /** 草畜平衡面积（亩），选填 */
    private BigDecimal grassBalanceArea;

    private Integer degradationLevel;

    private Integer utilizationType;

    private BigDecimal grassYieldPerMu;

    private BigDecimal utilizationRate;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date grazingBanStartDate;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date grazingBanEndDate;

    private Integer rotationPlotCount;

    private Integer rotationGrazingDays;

    private Integer rotationCycleDays;

    /** 0 存在 2 删除 */
    private String delFlag;

    /** 列表：草场名称模糊 */
    private String keyword;

    public Long getId()
    {
        return id;
    }

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

    public String getGrasslandName()
    {
        return grasslandName;
    }

    public void setGrasslandName(String grasslandName)
    {
        this.grasslandName = grasslandName;
    }

    public BigDecimal getAreaMu()
    {
        return areaMu;
    }

    public void setAreaMu(BigDecimal areaMu)
    {
        this.areaMu = areaMu;
    }

    public BigDecimal getGrazingBanArea()
    {
        return grazingBanArea;
    }

    public void setGrazingBanArea(BigDecimal grazingBanArea)
    {
        this.grazingBanArea = grazingBanArea;
    }

    public BigDecimal getGrassBalanceArea()
    {
        return grassBalanceArea;
    }

    public void setGrassBalanceArea(BigDecimal grassBalanceArea)
    {
        this.grassBalanceArea = grassBalanceArea;
    }

    public Integer getDegradationLevel()
    {
        return degradationLevel;
    }

    public void setDegradationLevel(Integer degradationLevel)
    {
        this.degradationLevel = degradationLevel;
    }

    public Integer getUtilizationType()
    {
        return utilizationType;
    }

    public void setUtilizationType(Integer utilizationType)
    {
        this.utilizationType = utilizationType;
    }

    public BigDecimal getGrassYieldPerMu()
    {
        return grassYieldPerMu;
    }

    public void setGrassYieldPerMu(BigDecimal grassYieldPerMu)
    {
        this.grassYieldPerMu = grassYieldPerMu;
    }

    public BigDecimal getUtilizationRate()
    {
        return utilizationRate;
    }

    public void setUtilizationRate(BigDecimal utilizationRate)
    {
        this.utilizationRate = utilizationRate;
    }

    public Date getGrazingBanStartDate()
    {
        return grazingBanStartDate;
    }

    public void setGrazingBanStartDate(Date grazingBanStartDate)
    {
        this.grazingBanStartDate = grazingBanStartDate;
    }

    public Date getGrazingBanEndDate()
    {
        return grazingBanEndDate;
    }

    public void setGrazingBanEndDate(Date grazingBanEndDate)
    {
        this.grazingBanEndDate = grazingBanEndDate;
    }

    public Integer getRotationPlotCount()
    {
        return rotationPlotCount;
    }

    public void setRotationPlotCount(Integer rotationPlotCount)
    {
        this.rotationPlotCount = rotationPlotCount;
    }

    public Integer getRotationGrazingDays()
    {
        return rotationGrazingDays;
    }

    public void setRotationGrazingDays(Integer rotationGrazingDays)
    {
        this.rotationGrazingDays = rotationGrazingDays;
    }

    public Integer getRotationCycleDays()
    {
        return rotationCycleDays;
    }

    public void setRotationCycleDays(Integer rotationCycleDays)
    {
        this.rotationCycleDays = rotationCycleDays;
    }

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