-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a74eb0c
commit d96fb5d
Showing
5 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
...g-backend/src/main/java/com/baloise/collab/springbackend/chat/IncomingChatMessageDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
package com.baloise.collab.springbackend.chat; | ||
|
||
import java.util.Date; | ||
|
||
public record IncomingChatMessageDTO( | ||
String text, | ||
String clientTimestamp | ||
Date clientTimestamp | ||
) {} |
4 changes: 3 additions & 1 deletion
4
...g-backend/src/main/java/com/baloise/collab/springbackend/chat/OutgoingChatMessageDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
package com.baloise.collab.springbackend.chat; | ||
|
||
import java.util.Date; | ||
|
||
import com.baloise.collab.springbackend.useradmin.UserDTO; | ||
|
||
public record OutgoingChatMessageDTO( | ||
String text, | ||
UserDTO user, | ||
String timestamp | ||
Date timestamp | ||
) {} |