Package org.cswteams.ms3.dto.shift
Class ShiftDTOOut
java.lang.Object
org.cswteams.ms3.dto.shift.ShiftDTOOut
-
Constructor Summary
ConstructorsConstructorDescriptionShiftDTOOut(Long id, String timeslot, int startHour, int startMinute, int durationMinutes, Set<String> daysOfWeek, MedicalServiceShiftDTO medicalService, List<QuantityShiftSeniorityDTO> quantityshiftseniority) -
Method Summary
-
Constructor Details
-
ShiftDTOOut
public ShiftDTOOut(Long id, String timeslot, int startHour, int startMinute, int durationMinutes, Set<String> daysOfWeek, MedicalServiceShiftDTO medicalService, List<QuantityShiftSeniorityDTO> quantityshiftseniority) - Parameters:
id- The id of the shift, useful for editingtimeslot- A string that represents a name ofTimeSlotstartHour- The starting hour of the shiftstartMinute- The starting minute of the shiftdurationMinutes- The duration of the shift, in minutesdaysOfWeek- A set of Strings that represents names ofDayOfWeekmedicalService- The DTO representing the medical service associated with the shiftquantityshiftseniority- A map of strings representing names ofSeniorityinto quantities ;
it represents how many doctors of every seniority are needed to cover the shift
-