WeTaskFission.java
4.83 KB
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
package com.linkwechat.wecom.domain;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.linkwechat.common.annotation.Excel;
import com.linkwechat.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
import java.util.List;
/**
* 任务宝主对象 we_task_fission
*
* @author leejoker <1056650571@qq.com>
* @date 2021-01-27
*/
@Data
public class WeTaskFission extends BaseEntity {
private static final long serialVersionUID = -3145843701063325455L;
/**
* 主键
*/
private Long id;
/**
* 任务类型:1 任务宝 2 群裂变
*/
private Integer fissionType;
/**
* 任务活动名称
*/
@Excel(name = "任务活动名称")
private String taskName;
/**
* 裂变引导语
*/
@Excel(name = "裂变引导语")
private String fissInfo;
/**
* 裂变客户数量
*/
@Excel(name = "裂变客户数量")
private Long fissNum;
/**
* 活动开始时间
*/
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "活动开始时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date startTime;
/**
* 活动结束时间
*/
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "活动结束时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date overTime;
/**
* 发起成员
*/
@TableField(exist = false)
private List<WeTaskFissionStaff> taskFissionStaffs;
/**
* 客户群
*/
@TableField(exist = false)
private List<WeGroup> taskFissionWeGroups;
/**
* 客户标签id列表,当为全部时保存为all
*/
@Excel(name = "客户标签id列表,当为全部时保存为all")
private String customerTagId;
/**
* 客户标签名称列表,为all是可为空
*/
@Excel(name = "客户标签名称列表,为all是可为空")
private String customerTag;
/**
* 海报id
*/
@Excel(name = "海报id")
private Long postersId;
/**
* 裂变海报路径
*/
@Excel(name = "裂变海报路径")
private String postersUrl;
/**
* 任务裂变目标员工
*/
@Excel(name = "任务裂变目标id")
@ApiModelProperty(value = "任务裂变目标id, 目标员工或者群活码id")
private String fissionTargetId;
/**
* 任务裂变目标员工姓名
*/
@Excel(name = "任务裂变目标")
@ApiModelProperty(value = "任务裂变目标, 目标员工名称或者群活码二维码地址")
private String fissionTarget;
/**
* 任务裂变目标员工二维码
*/
@Excel(name = "任务裂变目标二维码")
private String fissQrcode;
/**
* 兑奖链接
*/
@Excel(name = "兑奖链接")
private String rewardUrl;
/**
* 兑奖链接图片
*/
@Excel(name = "兑奖链接图片")
private String rewardImageUrl;
/**
* 兑奖规则
*/
@Excel(name = "兑奖规则")
private String rewardRule;
/**
* 任务裂变活动状态,1 进行中 2 已结束
*/
@Excel(name = "任务裂变活动状态,1 进行中 2 已结束")
private Integer fissStatus;
/**
* 新客欢迎语
*/
@Excel(name = "新客欢迎语")
private String welcomeMsg;
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("fissionType", getFissionType())
.append("taskName", getTaskName())
.append("fissInfo", getFissInfo())
.append("fissNum", getFissNum())
.append("startTime", getStartTime())
.append("overTime", getOverTime())
.append("customerTagId", getCustomerTagId())
.append("customerTag", getCustomerTag())
.append("postersId", getPostersId())
.append("postersUrl", getPostersUrl())
.append("fissionTargetId", getFissionTargetId())
.append("fissionTarget", getFissionTarget())
.append("fissQrcode", getFissQrcode())
.append("rewardUrl", getRewardUrl())
.append("rewardImageUrl", getRewardImageUrl())
.append("rewardRule", getRewardRule())
.append("fissStatus", getFissStatus())
.append("welcomeMsg", getWelcomeMsg())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.toString();
}
}