Class EditedPreferencesDTOIn

java.lang.Object
org.cswteams.ms3.dto.preferences.EditedPreferencesDTOIn

public class EditedPreferencesDTOIn extends Object
  • Constructor Details

    • EditedPreferencesDTOIn

      public EditedPreferencesDTOIn(Long doctorId, List<PreferenceDTOIn> remainingPreferences, List<PreferenceDoctorIDDTO> preferencesToDelete)
      Parameters:
      doctorId - the doctor whose preference need to be updated
      remainingPreferences - A list of PreferenceDTOIn representing the updated entities, some of them may have the id field set (the modified ones), while others not (the new ones)
      preferencesToDelete - A list of PreferenceDoctorIDDTO representing the preferences that need to be deleted