set UuidEntity open

This commit is contained in:
2019-08-24 23:41:45 +02:00
parent ae96bfd737
commit 2922c9309c

View File

@@ -13,8 +13,8 @@ interface EntityI<T> {
}
abstract class Entity<T>(override var id: T? = null): EntityI<T>
abstract class UuidEntity(override var id: UUID? = UUID.randomUUID()): Entity<UUID>(id)
abstract class IdEntity(override var id: Int? = null): Entity<Int>(id)
open class UuidEntity(override var id: UUID? = UUID.randomUUID()): Entity<UUID>(id)
open class IdEntity(override var id: Int? = null): Entity<Int>(id)
/* Version */
interface EntityVersioning<ID, NUMBER> {