struct DTO::Room

Defined in:

common/dto/room.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def booked_dates : Array(TimeSlot) #

def clone #

[View source]
def copy_with(id _id = @id, name _name = @name, booked_dates _booked_dates = @booked_dates) #

[View source]
def id : Int32 | Nil #

def name : String #