class Hiring::Rooms::Room

Overview

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

Defined in:

model/hiring/rooms/room.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(id : Int32 | Nil, name : String, booked_dates : Array(TimeSlot)) #

[View source]
def self.new(data : DTO::Room) #

[View source]

Class Method Detail

def self.booking(rooms : Array(DTO::Room), booked_on : DTO::TimeSlot) #

[View source]

Instance Method Detail

def name : String #

[View source]
def to_dto #

[View source]