Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
recrutement-ddd
master
CandidateRepository
Model
DTO
Candidate
Interview
Recruiter
Room
Skill
TimeSlot
Hiring
CancelInterview
Candidate
Hr
HumanRessource
Interview
Status
Recruiter
Rooms
Room
TimeSlot
ScheduleInterview
Skill
TimeSlot
InterviewRepository
Model
RecruiterRepository
Model
Repository
RoomRepository
Model
Built with Crystal 1.9.2
2023-10-07 10:49:18 UTC
class
Hiring::Rooms::Room
Hiring::Rooms::Room
Reference
Object
Overview
Todo: Add fiels to the room computer : Bool size : Bool
Defined in:
model/hiring/rooms/room.cr
Constructors
.new
(id : Int32 | Nil, name : String, booked_dates : Array(TimeSlot))
.new
(data : DTO::Room)
Class Method Summary
.booking
(rooms : Array(DTO::Room), booked_on : DTO::TimeSlot)
Instance Method Summary
#name
: String
#to_dto
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
]