package com.testor.ddd.safetyControl.infrastructure.uitls.RiskTemplate;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * 危险源导入模板
 * 设备名称
 */
@Data
public class EquipmentTemplateEntity {
    public EquipmentTemplateEntity(){

    }

    public EquipmentTemplateEntity(String firstType, String secondType,String name, String code){
        this.firstType = firstType ;
        this.secondType = secondType ;
        this.name = name ;
        this.code = code ;
    }

    @ExcelProperty(value = "设备一级分类", index = 0)
    private String firstType;

    @ExcelProperty(value = "设备二级分类", index = 1)
    private String secondType;

    @ExcelProperty(value = "设备名称", index = 2)
    private String name;

    @ExcelProperty(value = "设备名称编号", index = 3)
    private String code;

}
