UserInfoDto.java 4.45 KB
Newer Older
licc's avatar
licc committed
1 2
package cn.wisenergy.model.dto;

3 4 5 6
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
licc's avatar
licc committed
7 8
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
9 10
import lombok.AllArgsConstructor;
import lombok.Builder;
licc's avatar
licc committed
11
import lombok.Data;
12
import lombok.NoArgsConstructor;
licc's avatar
licc committed
13 14 15 16 17 18 19 20

import java.io.Serializable;
import java.util.Date;

/**
 * @ Description: 用户列表展示dto
 * @ Author     : 86187
 * @ Date       : 2021/1/7 10:47
21
 * @author 86187
licc's avatar
licc committed
22 23 24
 */
@Data
@ApiModel(value = "UserInfoDto")
25 26 27 28 29 30 31 32 33
@NoArgsConstructor
@AllArgsConstructor
@Builder
//内容高度
@ContentRowHeight(25)
//表头行高度
@HeadRowHeight(25)
//列的宽度
@ColumnWidth(25)
licc's avatar
licc committed
34 35 36 37 38 39 40 41 42 43 44 45 46 47
public class UserInfoDto implements Serializable {

    private static final long serialVersionUID = 4791446858538524520L;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id", name = "userId")
    private Integer userId;

    /**
     * 用户名称
     */
    @ApiModelProperty(value = "用户名称", name = "userName")
48
    @ExcelProperty(value = "用户名称")
licc's avatar
licc committed
49 50 51 52 53 54
    private String userName;

    /**
     * 性别 0:男 1:女
     */
    @ApiModelProperty(value = "性别 0:男 1:女", name = "sex")
55
    @ExcelProperty(value = "性别")
licc's avatar
licc committed
56 57 58 59 60
    private Integer sex;

    /**
     * 考生类型 1:文化课考生 2:美术生 3:体育生 4:文学编导考生
     */
61
    @ApiModelProperty(value = "考生类型 1:文化课考生 2:美术生 3:体育生 4:文学编导考生", name = "examType")
62
    @ExcelProperty(value = "考生类型")
63 64 65 66 67 68
    private Integer examType;

    /**
     * 登录来源
     */
    @ApiModelProperty(name ="source",value = "登录来源:1 PC,2 WAP")
69
    @ExcelProperty(value = "登录来源")
70
    private Integer source;
licc's avatar
licc committed
71

72 73 74 75 76 77 78
    /**
     * vip用户手机
     */
    @ApiModelProperty(value = "vip用户手机", name = "vipMobile")
    @ExcelProperty(value = "vip用户手机")
    private String vipMobile;

licc's avatar
licc committed
79 80 81 82
    /**
     * 手机
     */
    @ApiModelProperty(value = "手机号", name = "phone")
83
    @ExcelProperty(value = "手机号")
licc's avatar
licc committed
84 85
    private String phone;

86 87 88 89 90 91 92
    /**
     * 学校
     */
    @ApiModelProperty(name = "school", value = "毕业院校")
    @ExcelProperty(value = "毕业院校")
    private String school;

licc's avatar
licc committed
93 94 95 96
    /**
     * 文化成绩
     */
    @ApiModelProperty(value = "文化成绩", name = "cultureGrade")
97
    @ExcelProperty(value = "文化成绩")
licc's avatar
licc committed
98 99 100 101 102 103
    private String cultureGrade;

    /**
     * 专业成绩
     */
    @ApiModelProperty(value = "专业成绩", name = "majorGrade")
104
    @ExcelProperty(value = "专业成绩")
licc's avatar
licc committed
105 106 107 108 109 110
    private String majorGrade;

    /**
     * 用户剩余查询次数
     */
    @ApiModelProperty(value = "用户剩余查询次数", name = "queryLimit")
111
    @ExcelProperty(value = "用户剩余查询次数")
licc's avatar
licc committed
112 113 114 115 116 117
    private Integer queryLimit;

    /**
     * 用户充值总金额
     */
    @ApiModelProperty(value = "用户充值总金额", name = "moneyAmount")
118
    @ExcelProperty(value = "用户充值总金额")
licc's avatar
licc committed
119 120
    private String moneyAmount;

121 122 123 124
    /**
     * 用户充值次数
     */
    @ApiModelProperty(value ="充值卡充值总次数",name = "RechargeTimes")
125
    @ExcelProperty(value = "充值卡充值总次数")
126 127 128 129 130 131
    private int rechargeTimes;

    /**
     * 用户微信充值总金额
     */
    @ApiModelProperty(value ="用户微信充值总金额",name = "WeChatMoney")
132
    @ExcelProperty(value = "用户微信充值总金额")
133 134 135 136 137 138
    private String weChatMoney;

    /**
     * 用户支付宝充值总金额
     */
    @ApiModelProperty(value ="用户支付宝充值总金额",name = "AlipayMoney")
139
    @ExcelProperty(value = "用户支付宝充值总金额")
140 141
    private String alipayMoney;

licc's avatar
licc committed
142 143 144 145
    /**
     * ip
     */
    @ApiModelProperty(value = "ip", name = "ip")
146
    @ExcelProperty(value = "ip")
licc's avatar
licc committed
147 148 149 150 151 152
    private String ip;

    /**
     * 注册时间
     */
    @ApiModelProperty(value = "注册时间", name = "registerTime")
153
    @ExcelProperty(value = "注册时间")
licc's avatar
licc committed
154 155 156 157 158 159
    private Date registerTime;

    /**
     * 用户最后登陆时间
     */
    @ApiModelProperty(value = "用户最后登陆时间", name = "lastLoginTime")
160
    @ExcelProperty(value = "用户最后登陆时间")
licc's avatar
licc committed
161 162
    private Date lastLoginTime;

cy's avatar
cy committed
163 164 165 166 167
    /**
     * 员工名称
     */
    @ApiModelProperty(name = "staffName",value = "员工名字")
    private String staffName;
licc's avatar
licc committed
168 169


licc's avatar
licc committed
170
}