-
Notifications
You must be signed in to change notification settings - Fork 9
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
54cfc25
commit 24c4a5d
Showing
3 changed files
with
91 additions
and
11 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
6 changes: 6 additions & 0 deletions
6
...r2dbc-sample/src/main/java/com/example/jooq/r2dbc/model/response/PostCommentResponse.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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package com.example.jooq.r2dbc.model.response; | ||
|
||
import java.time.LocalDateTime; | ||
import java.util.UUID; | ||
|
||
public record PostCommentResponse(UUID id, String content, LocalDateTime createdAt) {} |
11 changes: 11 additions & 0 deletions
11
...t-jooq-r2dbc-sample/src/main/java/com/example/jooq/r2dbc/model/response/PostResponse.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.example.jooq.r2dbc.model.response; | ||
|
||
import java.util.List; | ||
import java.util.UUID; | ||
|
||
public record PostResponse( | ||
UUID id, | ||
String title, | ||
String content, | ||
List<PostCommentResponse> comments, | ||
List<String> tags) {} |