Skip to content

Commit

Permalink
[fix] primitive boolean과 lombok의 Getter의 호환성 문제로 수정 (#401)
Browse files Browse the repository at this point in the history
  • Loading branch information
kseysh committed Oct 8, 2024
1 parent 3bf37d5 commit 3583c39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/sopt/app/domain/entity/Notification.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class Notification extends BaseEntity{

@NotNull
@ColumnDefault("false")
private boolean isRead;
private Boolean isRead;

public void updateIsRead() {
this.isRead = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ public class PokeHistory extends BaseEntity {

@NotNull
@ColumnDefault("false")
private boolean isReply;
private Boolean isReply;

@NotNull
@ColumnDefault("false")
private boolean isAnonymous;
private Boolean isAnonymous;

public void activateReply() {
this.isReply = true;
Expand Down

0 comments on commit 3583c39

Please sign in to comment.