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

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

@Data
public class SpaceTemplateEntity {
    public SpaceTemplateEntity(){

    }

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

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

    @ExcelProperty(value = "名称", index = 1)
    private String name;

    @ExcelProperty(value = "编号", index = 2)
    private String code;
}
