diff --git a/common-spring-jpa/src/main/kotlin/ru/touchin/common/spring/jpa/models/BaseEntity.kt b/common-spring-jpa/src/main/kotlin/ru/touchin/common/spring/jpa/models/BaseEntity.kt index f218f67..1427850 100644 --- a/common-spring-jpa/src/main/kotlin/ru/touchin/common/spring/jpa/models/BaseEntity.kt +++ b/common-spring-jpa/src/main/kotlin/ru/touchin/common/spring/jpa/models/BaseEntity.kt @@ -13,7 +13,7 @@ import javax.persistence.MappedSuperclass @MappedSuperclass abstract class BaseEntity : Serializable { - @CreatedDate + @CreatedDate(updatable = false) lateinit var createdAt: ZonedDateTime @LastModifiedDate