GeoLocationEntity

data class GeoLocationEntity(val id: Long = 0, val geoLocationsID: Long? = null, val administrativeUnitNameGeoLocationsID: Long? = null, val latitude: Double, val longitude: Double)

The class representation of the entity 'GeoLocation' from the database. This entity stores the geographic location (latitude and longitude) data.

Constructors

Link copied to clipboard
constructor(id: Long = 0, geoLocationsID: Long? = null, administrativeUnitNameGeoLocationsID: Long? = null, latitude: Double, longitude: Double)

Properties

Link copied to clipboard

(Long, nullable) The ID referencing an associated AdministrativeUnitName entity (optional).

Link copied to clipboard
val geoLocationsID: Long? = null

(Long, nullable) Currently unused, reserved for potential future use with image locations.

Link copied to clipboard
val id: Long = 0

(Long, auto-generated) The unique identifier for the geolocation within the database.

Link copied to clipboard

(Double) The y-axis coordinate of the location in degrees, ranging from -90 (South Pole) to 90 (North Pole).

Link copied to clipboard

(Double) The x-axis coordinate of the location in degrees, ranging from -180 (West) to 180 (East).

Functions

Link copied to clipboard