admin
2021-06-26 5d9e2fbeab87327ce11080485bf4d971f93f542a
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
package com.matrix.system.app.dto;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.matrix.core.anotations.Extend;
import com.matrix.core.tools.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
 
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;
 
/**
 * @author jyy
 * @date 2020-12-23
 **/
@ApiModel(value = "FollowupCommonetListDto", description = "跟进记录查询参数")
public class FollowupListDto {
 
    @NotNull(message = "参数错误")
    @ApiModelProperty(value = "查询条数", example = "10")
    private Integer limit = 10;
 
    @NotNull(message = "查询起点")
    @ApiModelProperty(value = "第0条开始", example = "0")
    private Integer offset = 0;
 
    @ApiModelProperty(value = "门店ID 后台自动赋值", example = "0")
    private Long  shopId;
 
    @ApiModelProperty(value = "公司ID 后台自动赋值", example = "0")
    private Long  companyId;
 
    @ApiModelProperty(value = "当前员工ID 后台自动赋值", example = "0")
    private Long  selfStaff;
 
    @JsonFormat(pattern = DateUtil.DATE_FORMAT_DD, timezone = "GMT+8")
    @ApiModelProperty(value = "查询参数开始时间", example = "2021-01-10")
    private Date startTime;
 
 
    @JsonFormat(pattern = DateUtil.DATE_FORMAT_DD, timezone = "GMT+8")
    @ApiModelProperty(value = "查询参数结束时间", example = "2021-01-10")
    private Date endTime;
 
 
    @ApiModelProperty(value = "查询参数员工ID数组", example = "[1,2]")
    private List<Long>  staffIds;
 
    @ApiModelProperty(value = "查询参数客户ID数组", example = "[1,2]")
    private List<Long>  vipIds;
 
    @ApiModelProperty(value = "查询参数,查询跟进类型,1=全部,2=我发出的,3=我的团队", example = "1")
    private Integer  queryType=1;
 
    public Integer getQueryType() {
        return queryType;
    }
 
    public void setQueryType(Integer queryType) {
        this.queryType = queryType;
    }
 
    public Date getStartTime() {
        return startTime;
    }
 
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }
 
    public Date getEndTime() {
        return endTime;
    }
 
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
 
    public Long getShopId() {
        return shopId;
    }
 
    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }
 
    public Long getSelfStaff() {
        return selfStaff;
    }
 
    public void setSelfStaff(Long selfStaff) {
        this.selfStaff = selfStaff;
    }
 
    public List<Long> getStaffIds() {
        return staffIds;
    }
 
    public void setStaffIds(List<Long> staffIds) {
        this.staffIds = staffIds;
    }
 
    public List<Long> getVipIds() {
        return vipIds;
    }
 
    public void setVipIds(List<Long> vipIds) {
        this.vipIds = vipIds;
    }
 
    public Integer getLimit() {
        return limit;
    }
 
    public void setLimit(Integer limit) {
        this.limit = limit;
    }
 
    public Integer getOffset() {
        return offset;
    }
 
    public void setOffset(Integer offset) {
        this.offset = offset;
    }
 
    public Long getCompanyId() {
        return companyId;
    }
 
    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }
}