Skip to content

Commit 8f9d253

Browse files
committed
Active
1 parent d4880bc commit 8f9d253

File tree

1 file changed

+3
-3
lines changed
  • src/main/java/com/github/throyer/common/springboot/domain/models/entity

1 file changed

+3
-3
lines changed

src/main/java/com/github/throyer/common/springboot/domain/models/entity/Auditable.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public Optional<User> getDeletedBy() {
7373
}
7474

7575
@Column(name = "active", nullable = false)
76-
private Boolean ativo = true;
76+
private Boolean active = true;
7777

7878
public LocalDateTime getCreatedAt() {
7979
return createdAt;
@@ -100,11 +100,11 @@ public void setDeletedAt(LocalDateTime deletedAt) {
100100
}
101101

102102
public Boolean isActive() {
103-
return this.ativo;
103+
return this.active;
104104
}
105105

106106
public void setActive(Boolean active) {
107-
this.ativo = active;
107+
this.active = active;
108108
}
109109

110110
@PrePersist

0 commit comments

Comments
 (0)