Skip to content

Commit

Permalink
isActive initialized to false and made persistent
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianJitaru29 committed Mar 7, 2024
1 parent ea00b32 commit b3aa1ae
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,6 @@ public class Shelter extends UriEntity<Long> {
public void prePersist() {
createdAt = ZonedDateTime.now();
updatedAt = ZonedDateTime.now();
isActive = false;
}
}

0 comments on commit b3aa1ae

Please sign in to comment.