Commit 6da5846b74d851803edcd54db14c2cf153f5cb53
1 parent
0e3373c5
📝 refactor(ImGroupMessageRespVO): change user ID fields to List<Long> for better type safety
Showing
1 changed file
with
5 additions
and
4 deletions
yudao-module-im/yudao-module-im-biz/src/main/java/cn/iocoder/yudao/module/im/controller/admin/message/vo/group/ImGroupMessageRespVO.java
| ... | ... | @@ -4,6 +4,7 @@ import io.swagger.v3.oas.annotations.media.Schema; |
| 4 | 4 | import lombok.Data; |
| 5 | 5 | |
| 6 | 6 | import java.time.LocalDateTime; |
| 7 | +import java.util.List; | |
| 7 | 8 | |
| 8 | 9 | /** |
| 9 | 10 | * 群聊消息 Response VO |
| ... | ... | @@ -36,11 +37,11 @@ public class ImGroupMessageRespVO { |
| 36 | 37 | @Schema(description = "发送时间") |
| 37 | 38 | private LocalDateTime sendTime; |
| 38 | 39 | |
| 39 | - @Schema(description = "@目标用户编号列表", example = "1,2,3") | |
| 40 | - private String atUserIds; | |
| 40 | + @Schema(description = "@目标用户编号列表", example = "[1,2,3]") | |
| 41 | + private List<Long> atUserIds; | |
| 41 | 42 | |
| 42 | - @Schema(description = "定向接收用户编号列表", example = "1,2") | |
| 43 | - private String receiverUserIds; | |
| 43 | + @Schema(description = "定向接收用户编号列表", example = "[1,2]") | |
| 44 | + private List<Long> receiverUserIds; | |
| 44 | 45 | |
| 45 | 46 | @Schema(description = "回执状态", example = "0") |
| 46 | 47 | private Integer receiptStatus; | ... | ... |