Occupied

data class Occupied(val freesAt: Instant, val currentUser: Boolean) : ParkingSlotState

The state of a parking slot when it is occupied

Parameters

freesAt

the date at which the parking slot will be free

currentUser

whether the current user is occupying this parking slot

Constructors

Link copied to clipboard
constructor(freesAt: Instant, currentUser: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
val freesAt: Instant