WeMsgTlp.java
1.75 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
package com.linkwechat.wecom.domain;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.linkwechat.common.core.domain.BaseEntity;
import com.linkwechat.common.utils.SnowFlakeUtil;
import com.linkwechat.wecom.handler.GenericTypeHandler;
import io.swagger.models.auth.In;
import lombok.Data;
import java.util.List;
/**
* 欢迎语模板对象 we_msg_tlp
*
* @author ruoyi
* @date 2020-10-04
*/
@Data
@TableName("we_msg_tlp")
public class WeMsgTlp extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** $column.columnComment */
@TableId
private Long id;
/** 欢迎语 */
private String welcomeMsg;
/**图片url*/
private String picUrl;
/**图文*/
@TableField(typeHandler = GenericTypeHandler.class)
private ImageText imageText;
/**小程序*/
@TableField(typeHandler = GenericTypeHandler.class)
private Applet applet;
/** 0:正常;1:删除; */
private Integer delFlag;
/** 欢迎语模板类型:1:活码欢迎语;2:员工欢迎语;3:入群欢迎语 */
private Integer welcomeMsgTplType;
/**用户名 */
private String userNames;
/**用户id,用逗号隔开*/
private String userIds;
@Data
public static class Applet{
//小程序标题
private String appTile;
//小程序id
private String appId;
//小程序路径
private String appPath;
//小程序图片
private String appPic;
}
@Data
public static class ImageText{
//图文标题
private String imageTextTile;
//图文url
private String imageTextUrl;
}
}