Package org.cswteams.ms3.entity
Class QuantityShiftSeniority
java.lang.Object
org.cswteams.ms3.entity.QuantityShiftSeniority
This class allows you to store how many users of each role are needed in a specific shift.
For example, on the night shift in the department there must be 1 resident and 1 specialist among the allocated users.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor needed by LombokCreate aQuantitiShiftSeniorityobject with the specified parameters.QuantityShiftSeniority(Map<Seniority, Integer> seniority, Task task) Create aQuantitiShiftSeniorityobject with the specified parameters. -
Method Summary
-
Constructor Details
-
QuantityShiftSeniority
Create aQuantitiShiftSeniorityobject with the specified parameters.- Parameters:
id- association idseniority- seniority level requiredtask- task to be assigned
-
QuantityShiftSeniority
Create aQuantitiShiftSeniorityobject with the specified parameters.- Parameters:
seniority- seniority level requiredtask- task to be assigned
-
QuantityShiftSeniority
public QuantityShiftSeniority()Default constructor needed by Lombok
-