12345678910111213141516171819202122232425262728293031323334353637383940 |
- package com.kioor.chat.dto;
- import io.swagger.v3.oas.annotations.media.Schema;
- import lombok.Data;
- import java.io.Serializable;
- import java.util.Date;
- /**
- * 聊天记录
- *
- * @author Toby javatangbin@163.com
- * @since 3.0 2024-07-17
- */
- @Data
- @Schema(description = "聊天记录")
- public class ChatLogDTO implements Serializable {
- private static final long serialVersionUID = 1L;
- @Schema(description = "id")
- private Long id;
- @Schema(description = "类型:0小区群聊,1私聊")
- private Integer type;
- @Schema(description = "聊天对象id")
- private Long chatPartnerId;
- @Schema(description = "聊天内容")
- private String content;
- @Schema(description = "是否显示房号")
- private Integer showRoomFlag;
- @Schema(description = "编辑人")
- private Long editUser;
- @Schema(description = "编辑时间")
- private Date editTime;
- @Schema(description = "发言人房号")
- private String roomName;
- @Schema(description = "是否是本人")
- private Integer selfFlag;
- }
|