forked from kidgrow-microservices-platform

zhaoxiaohao
2021-02-06 01d42cce4abdbd5d232d241b1b6b662314cf3999
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package com.kidgrow.usercenter.model;
 
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.kidgrow.common.constant.CommonConstant;
import lombok.Data;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * 石家庄喜高科技有限责任公司 版权所有 © Copyright 2020<br>
 *
 * @Description: 用户导出<br>
 * @Project: <br>
 * @CreateDate: Created in 2020/2/13 15:36 <br>
 * @Author: <a href="4345453@kidgrow.com">liuke</a>
 */
@Data
public class SysUserExcel implements Serializable {
    private static final long serialVersionUID = -5886012896705137070L;
 
    @Excel(name = "用户姓名", height = 20, width = 30, isImportField = "true_st")
    private String username;
 
    @Excel(name = "用户昵称", height = 20, width = 30, isImportField = "true_st")
    private String nickname;
 
    @Excel(name = "手机号码", height = 20, width = 30, isImportField = "true_st")
    private String mobile;
 
    @Excel(name = "性别", replace = { "男_0", "女_1" }, isImportField = "true_st")
    private Integer sex;
 
    @Excel(name = "创建时间", format = CommonConstant.DATETIME_FORMAT, isImportField = "true_st", width = 20)
    private Date createTime;
 
    @Excel(name = "修改时间", format = CommonConstant.DATETIME_FORMAT, isImportField = "true_st", width = 20)
    private Date updateTime;
}