Class ShiftDTOIn

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

public class ShiftDTOIn extends Object
  • Constructor Details

    • ShiftDTOIn

      public ShiftDTOIn(String timeSlot, Integer startHour, Integer startMinute, Integer durationMinutes, Set<String> daysOfWeek, MedicalServiceShiftDTO medicalService, List<QuantityShiftSeniorityDTO> quantityShiftSeniority, List<AdditionalConstraintShiftDTO> additionalConstraints)
      Parameters:
      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
      additionalConstraints - A list of DTOs representing the additional constraints related to the shift
    • ShiftDTOIn

      public ShiftDTOIn(Long id, String timeSlot, Integer startHour, Integer startMinute, Integer durationMinutes, Set<String> daysOfWeek, MedicalServiceShiftDTO medicalService, List<QuantityShiftSeniorityDTO> quantityShiftSeniority, List<AdditionalConstraintShiftDTO> additionalConstraintShiftDTO)
      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
      additionalConstraintShiftDTO - A list of DTOs representing the additional constraints related to the shift