Skip to content

Commit

Permalink
Fix BaseMongoEntity.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
Idane committed Jun 19, 2021
1 parent a4275a1 commit c1223b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ abstract class BaseMongoEntity : BaseCrudEntity<String>() {
override lateinit var id: String

@MappedField(target = BaseMongoRO::class, transformer = DateToLongTransformer::class)
override var creationTime: Date = Date()
var creationTime: Date = Date()

override fun exists(): Boolean = this::id.isInitialized
}
Expand Down

0 comments on commit c1223b6

Please sign in to comment.