mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
package com.panzhihua.common.model.dtos.user;
 
import java.util.Date;
 
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.panzhihua.common.validated.PageGroup;
import com.panzhihua.common.validated.PutGroup;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
/**
 * @program: springcloud_k8s_panzhihuazhihuishequ
 * @description: 运营后台分页查询小程序用户
 * @author: huang.hongfa weixin hhf9596 qq 959656820
 * @create: 2020-12-30 11:27
 **/
@Data
@ApiModel(value = "运营后台分页查询小程序用户")
public class PageUserAppletsBackstageDTO {
 
    @ApiModelProperty(value = "分页-当前页数", example = "1")
    @NotNull(groups = {PageGroup.class}, message = "分页-当前页数不能为空")
    @Min(groups = {PageGroup.class}, value = 1, message = "分页-当前页数不能为空")
    private Long pageNum;
 
    @ApiModelProperty(value = "分页-每页记录数", example = "10")
    @NotNull(groups = {PageGroup.class}, message = "分页-每页记录数不能为空")
    @Min(groups = {PageGroup.class}, value = 1, message = "分页-每页记录数不能为空")
    private Long pageSize;
 
    @ApiModelProperty(value = "用户手机号", example = "")
    private String phone;
 
    @ApiModelProperty(value = "所属社区", example = "0")
    private Long communityId;
 
    @ApiModelProperty(value = "搜索-注册开始时间", example = "2020-01-02 00:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createAtBegin;
 
    @ApiModelProperty(value = "搜索-注册结束时间", example = "2020-12-28 00:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createAtEnd;
 
    @ApiModelProperty(value = "状态 1 启用 2 禁用", example = "0")
    @NotNull(groups = {PutGroup.class}, message = "状态不能为空")
    @Min(value = 1, groups = {PutGroup.class}, message = "状态不能为空")
    private Integer status;
 
    @ApiModelProperty(value = "搜索-最后登录时间开始", example = "2020-01-02 00:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastLoginTimeBegin;
 
    @ApiModelProperty(value = "搜索-最后登录时间结束", example = "2020-12-28 00:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastLoginTimeEnd;
 
    @ApiModelProperty(value = "编辑-用户主键", example = "2")
    @NotNull(groups = {PutGroup.class}, message = "用户主键不能为空")
    @Min(value = 1, groups = {PutGroup.class}, message = "用户主键不能为空")
    private Long userId;
 
    private String areaCode;
 
    private String appId;
}