File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed
src/main/java/com/back/global/websocket/dto Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change 11package com .back .global .websocket .dto ;
22
3+ import lombok .AllArgsConstructor ;
4+ import lombok .Builder ;
5+ import lombok .Data ;
6+ import lombok .NoArgsConstructor ;
7+
8+ import java .time .LocalDateTime ;
9+
10+ @ Data
11+ @ Builder
12+ @ NoArgsConstructor
13+ @ AllArgsConstructor
314public class WebSocketSessionInfo {
4- }
15+ private Long userId ;
16+ private String sessionId ;
17+ private LocalDateTime connectedAt ;
18+ private LocalDateTime lastActiveAt ;
19+ private Long currentRoomId ; // 현재 참여 중인 방 ID
20+ }
Original file line number Diff line number Diff line change 11package com .back .global .websocket .dto ;
22
3+ import lombok .AllArgsConstructor ;
4+ import lombok .Builder ;
5+ import lombok .Data ;
6+ import lombok .NoArgsConstructor ;
7+
8+ import java .time .LocalDateTime ;
9+
10+ @ Data
11+ @ Builder
12+ @ NoArgsConstructor
13+ @ AllArgsConstructor
314public class WebSocketStatusResponse {
15+ private boolean isConnected ;
16+ private LocalDateTime connectedAt ;
17+ private String sessionId ;
18+ private Long currentRoomId ;
19+ private LocalDateTime lastActiveAt ;
420}
You can’t perform that action at this time.
0 commit comments