Class ConfigVincMaxPerCons

java.lang.Object
org.cswteams.ms3.entity.constraint.ConfigVincMaxPerCons

@Entity public class ConfigVincMaxPerCons extends Object
This entity models the configuration for the system association between users with a specific Condition and the maximum time of consecutive work for them, e.g. elderly/pregnant users can have a limit to a certain amount of time.
See Also:
  • Constructor Details

    • ConfigVincMaxPerCons

      public ConfigVincMaxPerCons()
      Default constructor needed by Lombok
    • ConfigVincMaxPerCons

      public ConfigVincMaxPerCons(Condition constrainedCondition, int maxConsecutiveMinutes)
      Create a new Condition-max consecutive work time
      Parameters:
      constrainedCondition - condition for this constraint
      maxConsecutiveMinutes - maximum consecutive work time [minutes]