diff --git a/src/main/kotlin/fr/postgresjson/entity/Entity.kt b/src/main/kotlin/fr/postgresjson/entity/Entity.kt index e7dcf8c..c70be4d 100644 --- a/src/main/kotlin/fr/postgresjson/entity/Entity.kt +++ b/src/main/kotlin/fr/postgresjson/entity/Entity.kt @@ -13,8 +13,8 @@ interface EntityI { } abstract class Entity(override var id: T? = null): EntityI -abstract class UuidEntity(override var id: UUID? = UUID.randomUUID()): Entity(id) -abstract class IdEntity(override var id: Int? = null): Entity(id) +open class UuidEntity(override var id: UUID? = UUID.randomUUID()): Entity(id) +open class IdEntity(override var id: Int? = null): Entity(id) /* Version */ interface EntityVersioning {