UserQueryVo.java 1.65 KB
Newer Older
licc's avatar
licc committed
1 2
package cn.wisenergy.model.vo;

3 4
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
licc's avatar
licc committed
5 6 7
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
8
import org.springframework.format.annotation.DateTimeFormat;
licc's avatar
licc committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32

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

/**
*@ Description: 用户分页查询Vo
*@ Author     : 86187
*@ Date       : 2021/1/7 11:30
*/
@Data
@ApiModel(value = "UserQueryVo")
public class UserQueryVo implements Serializable {
    private static final long serialVersionUID = -3717746916267660740L;

    /**
     * 关键词
     */
    @ApiModelProperty(value = "关键词", name = "keyword")
    private String keyword;

    /**
     * 开始时间
     */
    @ApiModelProperty(value = "开始时间", name = "startTime")
33
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
licc's avatar
licc committed
34 35 36 37 38 39
    private Date startTime;

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间", name = "endTime")
40
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
licc's avatar
licc committed
41 42 43 44 45 46 47 48 49 50 51 52 53 54
    private Date endTime;

    /**
     * 起始页
     */
    @ApiModelProperty(value = "起始页", name = "pageNo")
    private Integer pageNo;

    /**
     * 页大小
     */
    @ApiModelProperty(value = "页大小", name = "pageSize")
    private Integer pageSize;

55 56 57 58 59 60 61 62 63 64 65 66
    /**
     * 用户名称
     */
    @ApiModelProperty(value= "用户名" ,name="userName")
    private String userName;

    /**
     * 电话号码
     */
    @ApiModelProperty(name = "phone",value = "手机号")
    private String phone;

licc's avatar
licc committed
67 68 69 70
    private Integer startNum;

    private Integer endNum;
}