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

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

@Data
public class TemplateEntity {
    public TemplateEntity(){

    }

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

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

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

}
