fix: add updatedAt onCreate

This commit is contained in:
2026-09-15 22:21:59 +07:00
parent d8591b10f4
commit 687f9aa6ca
@@ -36,6 +36,7 @@ public abstract class BaseEntity {
@PrePersist
protected void onCreate() {
this.createdAt = LocalDateTime.now();
this.updatedAt = this.createdAt;
}
@PreUpdate