toMap

abstract fun toMap(entity: T): Map<String, Any>

Maps the entity properties to a flat key-value map for storage.