JoinColumn

@Target(allowedTargets = [AnnotationTarget.FIELD])
annotation class JoinColumn(val name: String = "", val type: Relation)

Annotation to specify the join column in a database entity.

Properties

Link copied to clipboard

The name of the join column.

Link copied to clipboard

The type of relation (e.g., OneToMany, ManyToOne).