package com.pangu.student.domain.dto;

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

import java.io.Serializable;

/**
 * 学生导入DTO
 * 
 * @author pangu
 */
@Data
public class StudentImportDTO implements Serializable {
    
    private static final long serialVersionUID = 1L;

    /** 姓名 */
    @ExcelProperty(value = "姓名", index = 0)
    private String studentName;

    /** 学号 */
    @ExcelProperty(value = "学号", index = 1)
    private String studentNo;

    /** 用户手机号 */
    @ExcelProperty(value = "用户手机号", index = 2)
    private String memberPhone;

    /** 区域 */
    @ExcelProperty(value = "区域", index = 3)
    private String regionPath;

    /** 学校 */
    @ExcelProperty(value = "学校", index = 4)
    private String schoolName;

    /** 年级 */
    @ExcelProperty(value = "年级", index = 5)
    private String gradeName;

    /** 班级 */
    @ExcelProperty(value = "班级", index = 6)
    private String className;

    /** 性别 */
    @ExcelProperty(value = "性别", index = 7)
    private String gender;

    /** 出生年月 */
    @ExcelProperty(value = "出生年月", index = 8)
    private String birthday;

    // ========== 导入过程中填充的字段 ==========
    /** 区域ID */
    private Long regionId;

    /** 学校ID */
    private Long schoolId;

    /** 学校年级ID */
    private Long schoolGradeId;

    /** 学校班级ID */
    private Long schoolClassId;

    /** 会员ID */
    private Long memberId;

    /** 导入错误信息 */
    private String errorMsg;
}
