WeChatContactMapping.java
2.07 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
package com.linkwechat.wecom.domain;
import com.linkwechat.common.annotation.Excel;
import com.linkwechat.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* 聊天关系映射对象 we_chat_contact_mapping
*
* @author ruoyi
* @date 2020-12-27
*/
@Data
public class WeChatContactMapping extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键id */
private Long id;
/** 发送人id */
@Excel(name = "发送人id")
private String fromId;
/** 发送人头像 */
@Excel(name = "发送人头像")
private String fromAvatar;
/** 发送人姓名 */
@Excel(name = "发送人姓名")
private String fromName;
/** 发送人性别 0-未知 1-男性 2-女性 */
@Excel(name = "发送人性别 0-未知 1-男性 2-女性")
private Integer fromGender;
/** 接收人头像 */
@Excel(name = "接收人头像")
private String reviceAvatar;
/** 接收人姓名 */
@Excel(name = "接收人姓名")
private String reviceName;
/** 接收人性别 0-未知 1-男性 2-女性 */
@Excel(name = "接收人性别 0-未知 1-男性 2-女性")
private Integer reviceGender;
/** 接收人id */
@Excel(name = "接收人id")
private String reviceId;
/** 群聊id */
@Excel(name = "群聊id")
private String roomId;
/** 是否为客户 0-成员 1-客户 */
@Excel(name = "是否为客户 0-成员 1-客户")
private Integer isCustom;
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("fromId", getFromId())
.append("reviceAvatar", getReviceAvatar())
.append("reviceName", getReviceName())
.append("reviceGender", getReviceGender())
.append("reviceId", getReviceId())
.append("roomId", getRoomId())
.append("isCustom", getIsCustom())
.toString();
}
}