ChatLogDTO.java 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package com.kioor.chat.dto;
  2. import io.swagger.v3.oas.annotations.media.Schema;
  3. import lombok.Data;
  4. import java.io.Serializable;
  5. import java.util.Date;
  6. /**
  7. * 聊天记录
  8. *
  9. * @author Toby javatangbin@163.com
  10. * @since 3.0 2024-07-17
  11. */
  12. @Data
  13. @Schema(description = "聊天记录")
  14. public class ChatLogDTO implements Serializable {
  15. private static final long serialVersionUID = 1L;
  16. @Schema(description = "id")
  17. private Long id;
  18. @Schema(description = "类型:0小区群聊,1私聊")
  19. private Integer type;
  20. @Schema(description = "聊天对象id")
  21. private Long chatPartnerId;
  22. @Schema(description = "聊天内容")
  23. private String content;
  24. @Schema(description = "是否显示房号")
  25. private Integer showRoomFlag;
  26. @Schema(description = "编辑人")
  27. private Long editUser;
  28. @Schema(description = "编辑时间")
  29. private Date editTime;
  30. @Schema(description = "发言人房号")
  31. private String roomName;
  32. @Schema(description = "是否是本人")
  33. private Integer selfFlag;
  34. }