package com.ruoyi.doubledefense.dto.res;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.doubledefense.dto.RiskUnitDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.List;

/**
 * 风险分析单元对象 tb_risk_unit
 * 
 * @author ruoyi
 * @date 2023-08-03
 */
@ApiModel("风险分析单元出参实体")
public class RiskUnitResultDTO extends RiskUnitDTO
{

    @ApiModelProperty("风险分析对象名称")
    @Excel(name = "风险分析对象名称")
    private String hazardName;


    @ApiModelProperty("分析单元下对应巡查任务列表")
    private List<CheckTaskInventoryResultDTO> checkTaskInventoryResultDTOList;

    public List<CheckTaskInventoryResultDTO> getCheckTaskInventoryResultDTOList() {
        return checkTaskInventoryResultDTOList;
    }

    public void setCheckTaskInventoryResultDTOList(List<CheckTaskInventoryResultDTO> checkTaskInventoryResultDTOList) {
        this.checkTaskInventoryResultDTOList = checkTaskInventoryResultDTOList;
    }

    public String getHazardName() {
        return hazardName;
    }

    public void setHazardName(String hazardName) {
        this.hazardName = hazardName;
    }
}
