Vehicle
data class Vehicle(val id: String, val vehicleModel: VehicleModel?, var plate: String? = null, var vin: String? = null, var status: VehicleStatus = VehicleStatus())
Stores information about particular vehicle.
Parameters
id
id of the vehicle
vehicleModel
Model assigned to the vehicle
plate
license plate number of the vehicle
vin
vin number of the vehicle
status
current vehicle status
Constructors
Link copied to clipboard
constructor(id: String, vehicleModel: VehicleModel?, plate: String? = null, vin: String? = null, status: VehicleStatus = VehicleStatus())