java.lang.Object
org.ntnu.idi.idatt2106.sparesti.sparestibackend.model.ChallengeConfig

@Embeddable public class ChallengeConfig extends Object
Represents configuration preferences for challenges associated with a user within the system. This embedded object stores user preferences like their experience level and motivation type, which can be used to customize challenge recommendations and settings.

This class is not a standalone entity but is embedded within another entity such as a user profile. It includes unique constraints to ensure that each combination of user, experience, and motivation is unique within the context of its usage.

Author:
Y.A Marouga
  • Constructor Details

    • ChallengeConfig

      public ChallengeConfig()