com.nb6868.onex.api.modules.uc.excel.UserExcel Maven / Gradle / Ivy
package com.nb6868.onex.api.modules.uc.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.util.Date;
/**
* 用户管理
*/
@Data
public class UserExcel {
@Excel(name = "用户名")
private String username;
@Excel(name = "姓名")
private String realName;
@Excel(name = "昵称")
private String nickname;
@Excel(name = "性别", replace = {"男_0", "女_1", "保密_2"})
private Integer gender;
@Excel(name = "邮箱")
private String email;
@Excel(name = "手机号")
private String mobile;
@Excel(name = "部门名称")
private String deptName;
@Excel(name = "状态", replace = {"停用_0", "正常_1"})
private Integer state;
@Excel(name = "备注")
private String remark;
@Excel(name = "创建时间", format = "yyyy-MM-dd HH:mm:ss")
private Date createDate;
}