Class GetAllConcreteShiftDTO

java.lang.Object
org.cswteams.ms3.dto.concreteshift.GetAllConcreteShiftDTO

public class GetAllConcreteShiftDTO extends Object
Passed from server to client
  • Constructor Details

    • GetAllConcreteShiftDTO

      public GetAllConcreteShiftDTO(Long id, Long shiftID, long startDateTime, long endDateTime, Set<MedicalDoctorInfoDTO> doctorsOnDuty, Set<MedicalDoctorInfoDTO> doctorsOnCall, Set<MedicalDoctorInfoDTO> doctorsOnRemove, String medicalServiceLabel, String medicalServiceTask, String timeSlot, boolean reperibilitaAttiva)
      Constructor of the DTO that should be sent to te client so that the view of the schedule may have all the information needed to display
      Parameters:
      id - ID of a shift
      shiftID - ID of a concrete shift
      startDateTime - Long that represents the starting time of the concrete shift
      endDateTime - Long that represents the ending time of the concrete shift
      doctorsOnDuty - Set of doctors which are on duty for that shift
      doctorsOnCall - Set of doctors which are on call for that shift
      medicalServiceLabel - Name of the medical service offered in the specifica concrete shift
      medicalServiceTask - Name of the task service offered in the specifica concrete shift
      timeSlot - Moment of the day in which the concrete shift takes place, Morning/Afternoon/Night
    • GetAllConcreteShiftDTO

      public GetAllConcreteShiftDTO(Long id, Long shiftID, long startDateTime, long endDateTime, String medicalServiceLabel, String medicalServiceTask, String timeSlot, boolean reperibilitaAttiva)
      Constructor of the DTO that should be sent to te client so that the view of the schedule may have all the information needed to display
      Parameters:
      id - ID of a shift
      shiftID - ID of a concrete shift
      startDateTime - Long that represents the starting time of the concrete shift
      endDateTime - Long that represents the ending time of the concrete shift
      medicalServiceLabel - Name of the medical service offered in the specifica concrete shift
      medicalServiceTask - Name of the task service offered in the specifica concrete shift
      timeSlot - Moment of the day in which the concrete shift takes place, Morning/Afternoon/Night