PersistenceEntity

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class PersistenceEntity(val table: String = "")(source)

Declares the default table of a class so its PersistenceColumn references can omit the table.

When table is blank, it is derived from the uppercased simple class name (Playset ->"PLAYSET"). The same default is used for the target types of relations.

Properties

Link copied to clipboard