Entity Meta
class EntityMeta<T : Any>(val type: KClass<T>, val constructor: () -> T, val properties: List<PropertyMeta<T>>, val tableNameOverride: String?)
Compile-time metadata for a mapped entity class. Holds the class reference, a constructor lambda, property descriptors, and an optional table name override.
On Native platforms, instances are generated by the annotation processor (annproc) and registered via EntityRegistrar. On JVM, metadata can also be created at runtime via reflection.
Types
Link copied to clipboard
object Companion
Global registry of compile-time entity metadata, populated by EntityRegistrar callbacks.
Properties
Link copied to clipboard
lambda that creates a new instance of the entity
Link copied to clipboard
the list of mapped property descriptors
Link copied to clipboard
explicit table name, or null to derive from the class name via NamingPolicy