package com.reading.platform.dto.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 导入模板响应
 */
@Data
@Schema(description = "导入模板响应")
public class ImportTemplateResponse {

    @Schema(description = "表头")
    private String[] headers;

    @Schema(description = "示例数据")
    private String[] example;

    public static ImportTemplateResponse studentTemplate() {
        ImportTemplateResponse response = new ImportTemplateResponse();
        response.setHeaders(new String[]{"姓名", "性别", "出生日期", "家长手机号", "家长姓名", "备注"});
        response.setExample(new String[]{"张三", "男", "2018-01-01", "13800138000", "张父", "示例数据"});
        return response;
    }
}
