wzy
2021-01-13 95a75fc2342ed20f2b31eeb30a6171222c2faedf
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
package com.matrix.system.hive.bean;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.matrix.core.pojo.EntityDTO;
import com.matrix.core.anotations.Extend;
import com.matrix.core.tools.DateUtil;
import com.matrix.system.common.bean.EntityDTOExt;
import com.matrix.system.common.bean.SysUsers;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;
 
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;
 
/**
 * @description 跟进
 * @author 
 * @date 2021-01-10 15:15
 */
public class SysFollowup  extends EntityDTOExt{
    @Extend
    private static final long serialVersionUID = 1L; 
 
    
    /**
     * 主键
     */
    private Long  id;
            
    
    /**
     * 员工ID
     */
    private Long  staffId;
            
    
    /**
     * 客户ID
     */
    @NotNull(message = "客户ID不能为空")
    @ApiModelProperty(value = "客户ID", example = "10")
    private Long  vipId;
            
    
    /**
     * 订单id
     */
    @ApiModelProperty(value = "订单id", example = "10")
    private Long  orderId;
            
    
    /**
     * 服务单id
     */
    @ApiModelProperty(value = "服务单id", example = "10")
    private Long  serviceId;
            
    
    /**
     * 门店id
     */
    private Long  shopId;
            
    
    /**
     * 公司id
     */
    private Long  companyId;
            
    
    /**
     * 下次跟进时间
     */
    @ApiModelProperty(value = "下次跟进时间", example = "2021-01-02 12:22")
    @JsonFormat(pattern = DateUtil.DATE_FORMAT_MM, timezone = "GMT+8")
    private Date nextNotifyTime;
            
    
    /**
     * 跟进内容
     */
    @NotNull(message = "跟进内容不能为空")
    @ApiModelProperty(value = "跟进内容", example = "")
    private String  content;
            
    
    /**
     * 可见范围1公开,2仅自己可见
     */
    @NotNull(message = "可见范围不能为空")
    @ApiModelProperty(value = "可见范围1公开,2仅自己可见", example = "")
    private Integer  visible;
            
    
    /**
     * 订单摘要信息
     */
    @ApiModelProperty(value = "订单摘要信息", example = "")
    private String  orderAbstract;
 
    /**
     * 点赞人ids
     */
    @ApiModelProperty(value = "点赞人ids", example = "1,2")
    private String  zans;
 
    @Extend
    @ApiModelProperty(value = "点赞人列表",example ="")
    private List<SysUsers> zanUsers;
 
    @Extend
    @ApiModelProperty(value = "图片集合", example = "")
    private List<SysVipAlbum> albums;
 
    @Extend
    @ApiModelProperty(value = "评论集合",example ="")
    private List<SysFollowupComment> followupComments;
 
    @Extend
    @ApiModelProperty(value = "员工名称",example ="")
    private String staffName;
 
    @Extend
    @ApiModelProperty(value = "员工头像",example ="")
    private String staffPhoto;
 
    @Extend
    @ApiModelProperty(value = "客户名称",example ="")
    private String vipName;
 
    public String getStaffName() {
        return staffName;
    }
 
    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }
 
    public String getStaffPhoto() {
        return staffPhoto;
    }
 
    public void setStaffPhoto(String staffPhoto) {
        this.staffPhoto = staffPhoto;
    }
 
    public String getVipName() {
        return vipName;
    }
 
    public void setVipName(String vipName) {
        this.vipName = vipName;
    }
 
    public List<SysFollowupComment> getFollowupComments() {
        return followupComments;
    }
 
    public void setFollowupComments(List<SysFollowupComment> followupComments) {
        this.followupComments = followupComments;
    }
 
    public Integer getVisible() {
        return visible;
    }
 
    public void setVisible(Integer visible) {
        this.visible = visible;
    }
 
    public List<SysUsers> getZanUsers() {
        return zanUsers;
    }
 
    public void setZanUsers(List<SysUsers> zanUsers) {
        this.zanUsers = zanUsers;
    }
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public Long getStaffId() {
        return staffId;
    }
 
    public void setStaffId(Long staffId) {
        this.staffId = staffId;
    }
 
    public Long getVipId() {
        return vipId;
    }
 
    public void setVipId(Long vipId) {
        this.vipId = vipId;
    }
 
    public Long getOrderId() {
        return orderId;
    }
 
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }
 
    public Long getServiceId() {
        return serviceId;
    }
 
    public void setServiceId(Long serviceId) {
        this.serviceId = serviceId;
    }
 
    public Long getShopId() {
        return shopId;
    }
 
    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }
 
    public Long getCompanyId() {
        return companyId;
    }
 
    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }
 
    public List<SysVipAlbum> getAlbums() {
        return albums;
    }
 
    public void setAlbums(List<SysVipAlbum> albums) {
        this.albums = albums;
    }
 
    public Date getNextNotifyTime() {
        return nextNotifyTime;
    }
       
       public SysFollowup setNextNotifyTime(Date nextNotifyTime) {
        this.nextNotifyTime=nextNotifyTime;
        return this;
    }
       
 
    public String getContent() {
        return content;
    }
       
       public SysFollowup setContent(String content) {
        this.content=content;
        return this;
    }
       
 
    public String getOrderAbstract() {
        return orderAbstract;
    }
       
       public SysFollowup setOrderAbstract(String orderAbstract) {
        this.orderAbstract=orderAbstract;
        return this;
    }
       
 
    public String getZans() {
        return zans;
    }
       
       public SysFollowup setZans(String zans) {
        this.zans=zans;
        return this;
    }
       
 
 
  
}