Package org.cswteams.ms3.dto.shift
Class ShiftDTOIn
java.lang.Object
org.cswteams.ms3.dto.shift.ShiftDTOIn
-
Constructor Summary
ConstructorsConstructorDescriptionShiftDTOIn(Long id, String timeSlot, Integer startHour, Integer startMinute, Integer durationMinutes, Set<String> daysOfWeek, MedicalServiceShiftDTO medicalService, List<QuantityShiftSeniorityDTO> quantityShiftSeniority, List<AdditionalConstraintShiftDTO> additionalConstraintShiftDTO) ShiftDTOIn(String timeSlot, Integer startHour, Integer startMinute, Integer durationMinutes, Set<String> daysOfWeek, MedicalServiceShiftDTO medicalService, List<QuantityShiftSeniorityDTO> quantityShiftSeniority, List<AdditionalConstraintShiftDTO> additionalConstraints) -
Method Summary
-
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 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 shiftadditionalConstraints- 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 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 shiftadditionalConstraintShiftDTO- A list of DTOs representing the additional constraints related to the shift
-