Done ticket GEPAFINBE-87
This commit is contained in:
@@ -21,8 +21,13 @@ public class BaseEntity {
|
||||
|
||||
@Column(name = "UPDATED_DATE")
|
||||
LocalDateTime updatedDate;
|
||||
|
||||
@PrePersist
|
||||
|
||||
|
||||
@Column(name="IS_DELETED")
|
||||
private Boolean isDeleted = false;
|
||||
|
||||
|
||||
@PrePersist
|
||||
public void setCreatedDate() {
|
||||
this.createdDate = DateTimeUtil.DateServerToUTC(LocalDateTime.now());
|
||||
this.updatedDate = DateTimeUtil.DateServerToUTC(LocalDateTime.now());
|
||||
|
||||
Reference in New Issue
Block a user