Package org.cswteams.ms3.entity
Class Preference
java.lang.Object
org.cswteams.ms3.entity.Preference
Represents a doctor's scheduling preference
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor needed by LombokCreate a new Preference with the specified parameters.Create a new Preference with the specified parameters. -
Method Summary
-
Constructor Details
-
Preference
Create a new Preference with the specified parameters.- Parameters:
date- The day of the preferencetimeSlots- The shift time slots relative to the preference daydoctors- A list of doctors that have such preference
-
Preference
Create a new Preference with the specified parameters.- Parameters:
id- The id of the preferencedate- The day of the preferencetimeSlots- The shift time slots relative to the preference daydoctors- A list of doctors that have such preference
-
Preference
protected Preference()Default constructor needed by Lombok
-