package cn.iocoder.yudao.module.system.controller.admin.user.vo.user;

import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import cn.iocoder.yudao.module.system.enums.DictTypeConstants;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false) // 设置 chain = false，避免用户导入有问题
public class UserTeacherExcelVO {

    @ExcelProperty("登录账号")
    private String username;

    @ExcelProperty("教职工号")
    private String userNo;

    @ExcelProperty("姓名")
    private String nickname;

    @ExcelProperty("邮箱")
    private String email;

    @ExcelProperty("手机号码")
    private String mobile;

    @ExcelProperty(value = "性别",converter = DictConvert.class)
    @DictFormat(DictTypeConstants.USER_SEX)
    private String sex;

    @ExcelProperty(value = "状态",converter = DictConvert.class)
    @DictFormat(DictTypeConstants.COMMON_STATUS)
    private String status;

    @ExcelProperty("出生日期")
    private String birthDate;

    @ExcelProperty("教师类型类型")
    private String statusType;



}
