Skip to content

Commit

Permalink
Merge pull request #14 from yooookm/feat-차트도메인crud
Browse files Browse the repository at this point in the history
feat: baseEntity 삭제 함수 추가
  • Loading branch information
yooookm authored Sep 22, 2024
2 parents 47daf6e + 7237a32 commit 8285d04
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/dbdr/domain/BaseEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,9 @@ public abstract class BaseEntity {

@Column(nullable = false)
@ColumnDefault("true")
private boolean isDeleted;
private boolean isActive;

public void deactivate() {
this.isActive = false;
}
}

0 comments on commit 8285d04

Please sign in to comment.