Skip to content

Commit

Permalink
refactor : isVisible 타입 수정
Browse files Browse the repository at this point in the history
- boolean -> Boolean 수정
- NotNull 추가
  • Loading branch information
rladmstn committed Nov 5, 2024
1 parent b047a7a commit 6204add
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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) {
Expand Down

0 comments on commit 6204add

Please sign in to comment.