We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdb3551 commit f68294fCopy full SHA for f68294f
src/main/java/br/com/catalog/models/abstract_entity/AuditableEntity.java
@@ -35,19 +35,16 @@ protected void onUpdate() {
35
36
public void activate() {
37
this.status = Status.ACTIVE;
38
- this.updatedAt = LocalDateTime.now();
39
onStatusChange(Status.ACTIVE);
40
}
41
42
public void disable() {
43
this.status = Status.INACTIVE;
44
45
onStatusChange(Status.INACTIVE);
46
47
48
public void delete() {
49
this.status = Status.DELETED;
50
51
onStatusChange(Status.DELETED);
52
53
0 commit comments