TableMetadata

data class TableMetadata(val entityClass: KSClassDeclaration, val name: String, val alias: String?, val catalog: String?, val schema: String?, val tableClassName: String, val entitySequenceName: String, val ignoreProperties: Set<String>, val columns: List<ColumnMetadata>)(source)

Table definition metadata.

Constructors

Link copied to clipboard
constructor(entityClass: KSClassDeclaration, name: String, alias: String?, catalog: String?, schema: String?, tableClassName: String, entitySequenceName: String, ignoreProperties: Set<String>, columns: List<ColumnMetadata>)

Properties

Link copied to clipboard

The alias of the table.

Link copied to clipboard

The catalog of the table.

Link copied to clipboard

Columns in the table.

Link copied to clipboard
val entityClass: KSClassDeclaration

The annotated entity class of the table.

Link copied to clipboard

The name of the corresponding entity sequence in the generated code.

Link copied to clipboard

Properties that should be ignored for generating column definitions.

Link copied to clipboard

The name of the table.

Link copied to clipboard

The schema of the table.

Link copied to clipboard

The name of the corresponding table class in the generated code.