| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- package com.sqx.modules.chat.entity;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.annotation.TableField;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.sqx.modules.resumes.entity.ResumesListDto;
- 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;
- /**
- * 聊天内容对象 chat_content
- *
- * @author fang
- * @date 2020-03-17
- */
- @Data
- @TableName("chat_content")
- public class ChatContent {
- private static final long serialVersionUID = 1L;
- /** 聊天内容id */
- @TableId(type = IdType.AUTO)
- private Long chatContentId;
- /** 聊天会话id */
- private Long chatConversationId;
- /** 聊天内容 */
- private String content;
- /** 聊天类型 20视频通话 21语音通话 */
- private String messageType;
- /**
- * 通话状态 1申请中 2通话中 3已取消 4已拒绝 5已结束
- */
- private Integer videoStatus;
- /** 宽度 */
- private String width;
- /** 高度 */
- private String height;
- /** 发送人 */
- private Long userId;
- private Long byUserId;
- /** 状态(0未读 1已读) */
- private Integer status;
- /**
- * 创建时间
- */
- private String createTime;
- private String voiceLength;
- private Long postPushId;
- private Long resumesId;
- private Integer userType;
- @TableField(exist = false)
- private List<ResumesListDto> list;
- }
|