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

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

/**
 * 三资具体问题上报，对应表 {@code biz_three_assets_problem_report}。
 */
public class BizThreeAssetsProblemReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

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

    private Long townDeptId;

    private String townName;

    @NotNull(message = "所属村不能为空")
    private Long villageDeptId;

    private String villageName;

    /** 问题等级：general/key/major */
    private String problemLevel;

    private String problemDetail;

    private String handleResult;

    /** 查询：上报时间起 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date beginReportTime;

    /** 查询：上报时间止 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endReportTime;

    public Long getId()
    {
        return id;
    }

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

    public Date getReportTime()
    {
        return reportTime;
    }

    public void setReportTime(Date reportTime)
    {
        this.reportTime = reportTime;
    }

    public Long getTownDeptId()
    {
        return townDeptId;
    }

    public void setTownDeptId(Long townDeptId)
    {
        this.townDeptId = townDeptId;
    }

    public String getTownName()
    {
        return townName;
    }

    public void setTownName(String townName)
    {
        this.townName = townName;
    }

    public Long getVillageDeptId()
    {
        return villageDeptId;
    }

    public void setVillageDeptId(Long villageDeptId)
    {
        this.villageDeptId = villageDeptId;
    }

    public String getVillageName()
    {
        return villageName;
    }

    public void setVillageName(String villageName)
    {
        this.villageName = villageName;
    }

    public String getProblemLevel()
    {
        return problemLevel;
    }

    public void setProblemLevel(String problemLevel)
    {
        this.problemLevel = problemLevel;
    }

    public String getProblemDetail()
    {
        return problemDetail;
    }

    public void setProblemDetail(String problemDetail)
    {
        this.problemDetail = problemDetail;
    }

    public String getHandleResult()
    {
        return handleResult;
    }

    public void setHandleResult(String handleResult)
    {
        this.handleResult = handleResult;
    }

    public Date getBeginReportTime()
    {
        return beginReportTime;
    }

    public void setBeginReportTime(Date beginReportTime)
    {
        this.beginReportTime = beginReportTime;
    }

    public Date getEndReportTime()
    {
        return endReportTime;
    }

    public void setEndReportTime(Date endReportTime)
    {
        this.endReportTime = endReportTime;
    }
}
