app / sg.edu.ntu.scse.cz2006.gymbuddies.data / CarPark

CarPark

open class CarPark

Data Model for entity 'hdbcarparks' in the Room database. For sg.edu.ntu.scse.cz2006.gymbuddies.data in Gym Buddies! the object represent a row of record on 'hdbcarparks' table in room database

Author
Chia Yu

Since
2019-09-14

Constructors

<init>

Data Model for entity 'hdbcarparks' in the Room database. For sg.edu.ntu.scse.cz2006.gymbuddies.data in Gym Buddies! the object represent a row of record on 'hdbcarparks' table in room database

CarPark()

Properties

address

attribute of schema, relate to 'address' in actual table

var address: String

basement

attribute of schema, relate to 'address' in actual table

var basement: String

carParkType

attribute of schema, relate to 'car_park_type' in actual table

var carParkType: String

decks

attribute of schema, relate to 'car_park_decks' in actual table

var decks: Int

freeParking

attribute of schema, relate to 'free_parking' in actual table

var freeParking: String

gantryHeight

attribute of schema, relate to 'gantry_height' in actual table

var gantryHeight: Double

id

primary key of schema, relate to 'car_park_no' in actual table

var id: String

nightParking

attribute of schema, relate to 'night_parking' in actual table

var nightParking: String

shortTermParking

attribute of schema, relate to 'short_term_parking' in actual table

var shortTermParking: String

systemType

attribute of schema, relate to 'type_of_parking_system' in actual table

var systemType: String

x

attribute of schema, relate to 'x_coord' in actual table

var x: Double

y

attribute of schema, relate to 'y_coord' in actual table

var y: Double

Functions

toString

formatted object to human readable text to represent record

open fun toString(): String