ChatContent.java 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. package com.sqx.modules.chat.entity;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import com.baomidou.mybatisplus.annotation.TableName;
  6. import com.sqx.modules.resumes.entity.ResumesListDto;
  7. import lombok.Data;
  8. import org.apache.commons.lang3.builder.ToStringBuilder;
  9. import org.apache.commons.lang3.builder.ToStringStyle;
  10. import java.util.Date;
  11. import java.util.List;
  12. /**
  13. * 聊天内容对象 chat_content
  14. *
  15. * @author fang
  16. * @date 2020-03-17
  17. */
  18. @Data
  19. @TableName("chat_content")
  20. public class ChatContent {
  21. private static final long serialVersionUID = 1L;
  22. /** 聊天内容id */
  23. @TableId(type = IdType.AUTO)
  24. private Long chatContentId;
  25. /** 聊天会话id */
  26. private Long chatConversationId;
  27. /** 聊天内容 */
  28. private String content;
  29. /** 聊天类型 20视频通话 21语音通话 */
  30. private String messageType;
  31. /**
  32. * 通话状态 1申请中 2通话中 3已取消 4已拒绝 5已结束
  33. */
  34. private Integer videoStatus;
  35. /** 宽度 */
  36. private String width;
  37. /** 高度 */
  38. private String height;
  39. /** 发送人 */
  40. private Long userId;
  41. private Long byUserId;
  42. /** 状态(0未读 1已读) */
  43. private Integer status;
  44. /**
  45. * 创建时间
  46. */
  47. private String createTime;
  48. private String voiceLength;
  49. private Long postPushId;
  50. private Long resumesId;
  51. private Integer userType;
  52. @TableField(exist = false)
  53. private List<ResumesListDto> list;
  54. }