class

Hiring::Rooms::Room

Inherits Reference < Object

Todo: Add fiels to the room computer : Bool size : Bool

Constructors

new(id : Int32 | Nil, name : String, booked_dates : Array(TimeSlot))
new(data : DTO::Room)

Class methods

booking(rooms : Array(DTO::Room), booked_on : DTO::TimeSlot)

Instance methods

name
to_dto