Class QuantityShiftSeniority

java.lang.Object
org.cswteams.ms3.entity.QuantityShiftSeniority

@Entity public class QuantityShiftSeniority extends Object
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 Details

    • QuantityShiftSeniority

      public QuantityShiftSeniority(Long id, Map<Seniority,Integer> seniority, Task task)
      Create a QuantitiShiftSeniority object with the specified parameters.
      Parameters:
      id - association id
      seniority - seniority level required
      task - task to be assigned
    • QuantityShiftSeniority

      public QuantityShiftSeniority(Map<Seniority,Integer> seniority, Task task)
      Create a QuantitiShiftSeniority object with the specified parameters.
      Parameters:
      seniority - seniority level required
      task - task to be assigned
    • QuantityShiftSeniority

      public QuantityShiftSeniority()
      Default constructor needed by Lombok