package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excel.ColumnType;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 洪水案例库对象 flood_case
 *
 * @author jackeyhuang
 * @version 1.0.0
 * @date 2025-01-27
 */
public class FloodCase extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 案例ID */
    private Long caseId;

    /** 案例类型（对应Excel的tab名称） */
    @Excel(name = "案例类型")
    private String caseType;

    /** 案例名称 */
    @Excel(name = "案例名称")
    private String caseName;

    /** 案例时间 */
    @Excel(name = "案例时间")
    private String caseTime;

    /** 案例地点 */
    @Excel(name = "案例地点")
    private String caseLocation;

    /** 案例描述 */
    @Excel(name = "案例描述")
    private String caseDescription;

    /** 灾害类型 */
    private String disasterType;

    /** 影响范围 */
    private String affectedArea;

    /** 经济损失 */
    private String economicLoss;

    /** 人员伤亡 */
    private String casualties;

    /** 降雨量 */
    private String rainfall;

    /** 水位 */
    private String waterLevel;

    /** 持续时间 */
    private String duration;

    /** 应对措施 */
    private String responseMeasures;

    /** 流域 */
    private String riverBasin;

    /** 洪水规模 */
    private String floodScale;

    /** 洪峰流量 */
    private String peakFlow;

    /** 受灾人口 */
    private String affectedPopulation;

    /** 房屋损毁 */
    private String damagedHouses;

    /** 农作物受灾 */
    private String damagedCrops;

    /** 基础设施损毁 */
    private String infrastructureDamage;

    /** 救援情况 */
    private String rescueSituation;

    /** 预防措施 */
    private String preventionMeasures;

    /** 经验教训 */
    private String lessonsLearned;

    /** 天气情况 */
    private String weatherCondition;

    /** 洪水成因 */
    private String floodCause;

    /** 预警等级 */
    private String warningLevel;

    /** 转移人数 */
    private String evacuationNumber;

    /** 救援队伍 */
    private String rescueTeams;

    /** 物资支援 */
    private String materialSupport;

    /** 案例数据（JSON格式存储Excel中的其他字段） */
    private String caseData;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setCaseId(Long caseId)
    {
        this.caseId = caseId;
    }

    public Long getCaseId()
    {
        return caseId;
    }

    public void setCaseType(String caseType)
    {
        this.caseType = caseType;
    }

    public String getCaseType()
    {
        return caseType;
    }

    public void setCaseName(String caseName)
    {
        this.caseName = caseName;
    }

    public String getCaseName()
    {
        return caseName;
    }

    public void setCaseTime(String caseTime)
    {
        this.caseTime = caseTime;
    }

    public String getCaseTime()
    {
        return caseTime;
    }

    public void setCaseLocation(String caseLocation)
    {
        this.caseLocation = caseLocation;
    }

    public String getCaseLocation()
    {
        return caseLocation;
    }

    public void setCaseDescription(String caseDescription)
    {
        this.caseDescription = caseDescription;
    }

    public String getCaseDescription()
    {
        return caseDescription;
    }

    public void setCaseData(String caseData)
    {
        this.caseData = caseData;
    }

    public void setDisasterType(String disasterType)
    {
        this.disasterType = disasterType;
    }

    public String getDisasterType()
    {
        return disasterType;
    }

    public void setAffectedArea(String affectedArea)
    {
        this.affectedArea = affectedArea;
    }

    public String getAffectedArea()
    {
        return affectedArea;
    }

    public void setEconomicLoss(String economicLoss)
    {
        this.economicLoss = economicLoss;
    }

    public String getEconomicLoss()
    {
        return economicLoss;
    }

    public void setCasualties(String casualties)
    {
        this.casualties = casualties;
    }

    public String getCasualties()
    {
        return casualties;
    }

    public void setRainfall(String rainfall)
    {
        this.rainfall = rainfall;
    }

    public String getRainfall()
    {
        return rainfall;
    }

    public void setWaterLevel(String waterLevel)
    {
        this.waterLevel = waterLevel;
    }

    public String getWaterLevel()
    {
        return waterLevel;
    }

    public void setDuration(String duration)
    {
        this.duration = duration;
    }

    public String getDuration()
    {
        return duration;
    }

    public void setResponseMeasures(String responseMeasures)
    {
        this.responseMeasures = responseMeasures;
    }

    public String getResponseMeasures()
    {
        return responseMeasures;
    }

    public void setRiverBasin(String riverBasin)
    {
        this.riverBasin = riverBasin;
    }

    public String getRiverBasin()
    {
        return riverBasin;
    }

    public void setFloodScale(String floodScale)
    {
        this.floodScale = floodScale;
    }

    public String getFloodScale()
    {
        return floodScale;
    }

    public void setPeakFlow(String peakFlow)
    {
        this.peakFlow = peakFlow;
    }

    public String getPeakFlow()
    {
        return peakFlow;
    }

    public void setAffectedPopulation(String affectedPopulation)
    {
        this.affectedPopulation = affectedPopulation;
    }

    public String getAffectedPopulation()
    {
        return affectedPopulation;
    }

    public void setDamagedHouses(String damagedHouses)
    {
        this.damagedHouses = damagedHouses;
    }

    public String getDamagedHouses()
    {
        return damagedHouses;
    }

    public void setDamagedCrops(String damagedCrops)
    {
        this.damagedCrops = damagedCrops;
    }

    public String getDamagedCrops()
    {
        return damagedCrops;
    }

    public void setInfrastructureDamage(String infrastructureDamage)
    {
        this.infrastructureDamage = infrastructureDamage;
    }

    public String getInfrastructureDamage()
    {
        return infrastructureDamage;
    }

    public void setRescueSituation(String rescueSituation)
    {
        this.rescueSituation = rescueSituation;
    }

    public String getRescueSituation()
    {
        return rescueSituation;
    }

    public void setPreventionMeasures(String preventionMeasures)
    {
        this.preventionMeasures = preventionMeasures;
    }

    public String getPreventionMeasures()
    {
        return preventionMeasures;
    }

    public void setLessonsLearned(String lessonsLearned)
    {
        this.lessonsLearned = lessonsLearned;
    }

    public String getLessonsLearned()
    {
        return lessonsLearned;
    }

    public void setWeatherCondition(String weatherCondition)
    {
        this.weatherCondition = weatherCondition;
    }

    public String getWeatherCondition()
    {
        return weatherCondition;
    }

    public void setFloodCause(String floodCause)
    {
        this.floodCause = floodCause;
    }

    public String getFloodCause()
    {
        return floodCause;
    }

    public void setWarningLevel(String warningLevel)
    {
        this.warningLevel = warningLevel;
    }

    public String getWarningLevel()
    {
        return warningLevel;
    }

    public void setEvacuationNumber(String evacuationNumber)
    {
        this.evacuationNumber = evacuationNumber;
    }

    public String getEvacuationNumber()
    {
        return evacuationNumber;
    }

    public void setRescueTeams(String rescueTeams)
    {
        this.rescueTeams = rescueTeams;
    }

    public String getRescueTeams()
    {
        return rescueTeams;
    }

    public void setMaterialSupport(String materialSupport)
    {
        this.materialSupport = materialSupport;
    }

    public String getMaterialSupport()
    {
        return materialSupport;
    }

    public String getCaseData()
    {
        return caseData;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("caseId", getCaseId())
            .append("caseType", getCaseType())
            .append("caseName", getCaseName())
            .append("caseTime", getCaseTime())
            .append("caseLocation", getCaseLocation())
            .append("caseDescription", getCaseDescription())
            .append("disasterType", getDisasterType())
            .append("affectedArea", getAffectedArea())
            .append("economicLoss", getEconomicLoss())
            .append("casualties", getCasualties())
            .append("rainfall", getRainfall())
            .append("waterLevel", getWaterLevel())
            .append("caseData", getCaseData())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
