| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- package com.cyksj.model.entity;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.annotation.TableField;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.ejlchina.searcher.bean.SearchBean;
- import lombok.Data;
- import lombok.NoArgsConstructor;
- import lombok.experimental.Accessors;
- @Data
- @NoArgsConstructor
- @Accessors(chain = true)
- @SearchBean(tables = "qy_msg_content")
- public class QyMsgContent {
- @TableId(value = "id",type = IdType.AUTO)
- private Long id;
- /**
- * 消息id,消息的唯一标识,企业可以使用此字段进行消息去重
- */
- private String msgid;
- /**
- * 消息动作,目前有send(发送消息)/recall(撤回消息)/switch(切换企业日志)三种类型
- */
- private String action;
- /**
- * 成员id
- */
- private String followId;
- /**
- * 客户id
- */
- private String externalUserid;
- /**
- * 消息发送方id。同一企业内容为userid,非相同企业为external_userid。消息如果是机器人发出,也为external_userid
- */
- @TableField("`from`")
- private String from;
- private String fromView;
- /**
- * 消息接收方列表,可能是多个,同一个企业内容为userid,非相同企业为external_userid。数组
- */
- private String tolist;
- private String tolistView;
- /**
- * 群聊消息的群id
- */
- private String roomid;
- private String roomidView;
- /**
- * 消息发送时间戳,utc时间,ms单位
- */
- private String msgtime;
- /**
- * 消息类型
- */
- private String msgtype;
- /**
- * 文字
- */
- private String text;
- /**
- * 图片
- */
- private String image;
- /**
- * 小程序
- */
- private String weapp;
- /**
- * 红包消息
- */
- private String redpacket;
- /**
- * 文件
- */
- private String file;
- /**
- * 视频
- */
- private String video;
- /**
- * 语音
- */
- private String voice;
- /**
- * 多条聊天记录
- */
- private String chatrecord;
- /**
- * 文件名称
- */
- private String filename;
- /**
- * 撤回
- */
- @TableField("`revoke`")
- private String revoke;
- /**
- * 表情包
- */
- private String emotion;
- /**
- * 卡片消息
- */
- private String card;
- /**
- * 文件URL
- */
- private String url;
- }
|