package com.testor.ddd.safetyControl.infrastructure.uitls.EquipmentExcelTemplate.SpaceExcelTemplate;

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

@Data
public class SpaceTemplateEntity {
    public SpaceTemplateEntity(){

    }

    public SpaceTemplateEntity(String spaceTypeName, String spaceName, String spaceCode
            , String name, String code){
        this.spaceTypeName = spaceTypeName;
        this.spaceName = spaceName ;
        this.spaceCode = spaceCode ;
        this.name = name ;
        this.code = code ;
    }

    @ExcelProperty(value = "车间场所类型", index = 0)
    private String spaceTypeName;

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

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

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

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