From 6204added99edd06a8a021392d06368f5f6ad993 Mon Sep 17 00:00:00 2001 From: rladmstn Date: Tue, 5 Nov 2024 23:53:48 +0900 Subject: [PATCH] =?UTF-8?q?refactor=20:=20isVisible=20=ED=83=80=EC=9E=85?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - boolean -> Boolean 수정 - NotNull 추가 --- .../algohub/feature/group/studygroup/domain/GroupMember.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/gamzabat/algohub/feature/group/studygroup/domain/GroupMember.java b/src/main/java/com/gamzabat/algohub/feature/group/studygroup/domain/GroupMember.java index 769aa32a..ca9a2186 100644 --- a/src/main/java/com/gamzabat/algohub/feature/group/studygroup/domain/GroupMember.java +++ b/src/main/java/com/gamzabat/algohub/feature/group/studygroup/domain/GroupMember.java @@ -14,6 +14,7 @@ import jakarta.persistence.Id; import jakarta.persistence.JoinColumn; import jakarta.persistence.ManyToOne; +import jakarta.validation.constraints.NotNull; import lombok.Builder; import lombok.Getter; import lombok.NoArgsConstructor; @@ -34,7 +35,8 @@ public class GroupMember { private LocalDate joinDate; @Enumerated(EnumType.STRING) private RoleOfGroupMember role; - private boolean isVisible; + @NotNull + private Boolean isVisible; @Builder public GroupMember(User user, StudyGroup studyGroup, LocalDate joinDate, RoleOfGroupMember role) {