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

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

/**
 * 危险源导入模板
 * 空间名称
 */
@Data
public class SpaceTemplateEntity {
    public SpaceTemplateEntity(){

    }

    public SpaceTemplateEntity(String spaceType, String spaceName,String spaceCode, String workArea,String workAreaCode){
        this.spaceType = spaceType ;
        this.spaceName = spaceName ;
        this.spaceCode = spaceCode ;
        this.workArea = workArea ;
        this.workAreaCode = workAreaCode ;
    }

    @ExcelProperty(value = "空间分类", index = 0)
    private String spaceType;

    @ExcelProperty(value = "空间名称", index = 1)
    private String spaceName;

    @ExcelProperty(value = "空间编号", index = 2)
    private String spaceCode;


    @ExcelProperty(value = "作业区域", index = 3)
    private String workArea;

    @ExcelProperty(value = "作业区域编号", index = 4)
    private String workAreaCode;

}
