Csv Column
Reads this property from the CSV column name instead of the column named after the property.
Column names are matched ignoring case and underscores, so this is only needed when the header is a different name, such as an abbreviation:
@CsvImport
@DomainEntity
data class BggRankingEntry(
@DomainCreate
@CsvColumn("id")
@PersistenceColumn("BGG_ID")
val bggId: Long,
)Content copied to clipboard