diff --git a/src/main/java/LlikelionKNU/KNUfest/domain/booth/dto/Booth.java b/src/main/java/LlikelionKNU/KNUfest/domain/booth/dto/Booth.java index 2d7bc1e..2726934 100644 --- a/src/main/java/LlikelionKNU/KNUfest/domain/booth/dto/Booth.java +++ b/src/main/java/LlikelionKNU/KNUfest/domain/booth/dto/Booth.java @@ -10,8 +10,8 @@ @RequiredArgsConstructor @AllArgsConstructor public class Booth { - Long id; - String boothName; - int likes; - boolean Likable; + private Long id; + private String boothName; + private int likes; + private boolean Likable; } diff --git a/src/main/java/LlikelionKNU/KNUfest/domain/booth/dto/BoothDetail.java b/src/main/java/LlikelionKNU/KNUfest/domain/booth/dto/BoothDetail.java index a0c83cb..473b685 100644 --- a/src/main/java/LlikelionKNU/KNUfest/domain/booth/dto/BoothDetail.java +++ b/src/main/java/LlikelionKNU/KNUfest/domain/booth/dto/BoothDetail.java @@ -9,11 +9,11 @@ @Data @Builder public class BoothDetail { - Long id; - String boothName; - int likes; - List urls; - boolean Likable; + private Long id; + private String boothName; + private int likes; + private List urls; + private boolean Likable; - List comments; + private List comments; } diff --git a/src/main/java/LlikelionKNU/KNUfest/domain/comment/dto/Comment.java b/src/main/java/LlikelionKNU/KNUfest/domain/comment/dto/Comment.java index 0ead98a..d9573c2 100644 --- a/src/main/java/LlikelionKNU/KNUfest/domain/comment/dto/Comment.java +++ b/src/main/java/LlikelionKNU/KNUfest/domain/comment/dto/Comment.java @@ -10,11 +10,11 @@ @Data @Builder public class Comment { - Long id; - String name; - String comment; - String password; - Instant created; + private Long id; + private String name; + private String comment; + private String password; + private Instant created; public CommentEntity toEntity(BoothEntity booth){ return CommentEntity.builder() diff --git a/src/main/java/LlikelionKNU/KNUfest/domain/comment/dto/CommentRequest.java b/src/main/java/LlikelionKNU/KNUfest/domain/comment/dto/CommentRequest.java index 9199ee3..ddb11fd 100644 --- a/src/main/java/LlikelionKNU/KNUfest/domain/comment/dto/CommentRequest.java +++ b/src/main/java/LlikelionKNU/KNUfest/domain/comment/dto/CommentRequest.java @@ -6,7 +6,7 @@ @Data @RequiredArgsConstructor public class CommentRequest { - String name; - String comment; - String password; + private String name; + private String comment; + private String password; }