WeGroupMessageTemplate.java
2.25 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
package com.linkwechat.wecom.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.linkwechat.common.annotation.Excel;
import com.linkwechat.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
/**
* 群发消息模板对象 we_group_message_template
*
* @author ruoyi
* @date 2021-10-27
*/
@ApiModel
@Data
@TableName("we_group_message_template")
public class WeGroupMessageTemplate extends BaseEntity {
/**
* 主键id
*/
@ApiModelProperty("id")
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 群发任务的类,1:表示发送给客户,2:表示发送给客户群
*/
@ApiModelProperty("群发任务的类,1:表示发送给客户,2:表示发送给客户群")
@Excel(name = "群发任务的类,1:表示发送给客户,2:表示发送给客户群")
private Integer chatType;
/**
* 群发内容
*/
@ApiModelProperty("群发内容")
@Excel(name = "群发内容")
private String content;
/**
* 发送时间
*/
@ApiModelProperty("发送时间")
@Excel(name = "发送时间", width = 30, dateFormat = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date sendTime;
/**
* 条件筛选
*/
@ApiModelProperty("条件筛选")
@Excel(name = "条件筛选")
private String filterCondition;
/**
* 是否定时任务 0 立即发送 1 定时发送
*/
@ApiModelProperty("是否定时任务 0 立即发送 1 定时发送")
@Excel(name = "是否定时任务 0 立即发送 1 定时发送")
private Integer isTask;
/**
* 状态 -1:失败 0:未执行 1:完成 2:取消
*/
@ApiModelProperty("状态 -1:失败 0:未执行 1:完成 2:取消")
@Excel(name = "是否执行 -1:失败 0:未执行 1:完成 2:取消")
private Integer status;
/**
* 来源 0 群发 1 其他
*/
@ApiModelProperty("来源 0 群发 1 其他")
private Integer source;
}