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

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;

}
