AdministrativeUnitNameEntity

data class AdministrativeUnitNameEntity(val id: Long = 0, val locality: String?, val subAdminArea: String?, val adminArea: String?, val countryName: String?)

The class representation of the entity 'AdministrativeUnitName' from the database. This entity stores information about the names of administrative units (e.g., city, county, state).

Constructors

Link copied to clipboard
constructor(id: Long = 0, locality: String?, subAdminArea: String?, adminArea: String?, countryName: String?)

Properties

Link copied to clipboard

The name of a higher administrative level for some countries (e.g., state in USA). Can be null (optional).

Link copied to clipboard

The name of the country. Can be null (optional).

Link copied to clipboard
val id: Long = 0

The database ID of the administrative unit name (defaults to 0).

Link copied to clipboard

The name of the first administrative level (e.g., city). Can be null (optional).

Link copied to clipboard

The name of the second administrative level for some countries (e.g., county in USA). Can be null (optional).

Functions

Link copied to clipboard

Updates the subAdminArea property of the current AdministrativeUnitNameEntity to use a new value.