Class UserCity.Key

java.lang.Object
org.localify.user.support.UserCity.Key
All Implemented Interfaces:
Serializable
Enclosing class:
UserCity

@Embeddable public static class UserCity.Key extends Object implements Serializable
Represents the composite key for the user city.
See Also:
  • Constructor Details

    • Key

      protected Key()
      Default constructor.
    • Key

      public Key(UUID userId, UUID cityId)
      Creates a new key.
      Parameters:
      userId - The user ID.
      cityId - The city ID.
  • Method Details