Class ShiftDTOOut

java.lang.Object
org.cswteams.ms3.dto.shift.ShiftDTOOut

public class ShiftDTOOut extends Object
  • 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 editing
      timeslot - A string that represents a name of TimeSlot
      startHour - The starting hour of the shift
      startMinute - The starting minute of the shift
      durationMinutes - The duration of the shift, in minutes
      daysOfWeek - A set of Strings that represents names of DayOfWeek
      medicalService - The DTO representing the medical service associated with the shift
      quantityshiftseniority - A map of strings representing names of Seniority into quantities ;
      it represents how many doctors of every seniority are needed to cover the shift