name
The name of the column.
If not specified, the name will be generated by a naming strategy. This naming strategy can be configured by KSP option ktorm.dbNamingStrategy, which accepts the following values:
lower-snake-case (default): generate names in lower snake-case, the names are concatenation of the current property's name and the referenced table's primary key name. For example, a property
userreferencing a table that has a primary key namedidwill get a nameuser_id.upper-snake-case: generate names in upper snake-case, the names are concatenation of the current property's name and the referenced table's primary key name. For example, a property
userreferencing a table that has a primary key namedidwill get a nameUSER_ID.Class name of a custom naming strategy, which should be an implementation of
org.ktorm.ksp.spi.DatabaseNamingStrategy.