All Implemented Interfaces:
Serializable

@Entity(name="AgeGroup") public class AgeGroup extends BaseEntity<Long>
Historical reference entity that documents the age_group table schema.

This entity exists solely to map the database table for historical data storage. It is NOT used in application code. The active representation of age group data is the AgeGroup enum, which is stored as a VARCHAR column in result tables.

Do NOT import or reference this entity in business logic.

See Also:
  • Constructor Details

    • AgeGroup

      public AgeGroup()
  • Method Details

    • getCode

      public String getCode()
    • setCode

      public void setCode(String code)
    • getDenominationEN

      public String getDenominationEN()
    • setDenominationEN

      public void setDenominationEN(String denominationEN)
    • getDenominationPT

      public String getDenominationPT()
    • setDenominationPT

      public void setDenominationPT(String denominationPT)
    • equals

      public boolean equals(Object o)
      Description copied from class: BaseEntity
      Equality is based on the entity's identifier. Two entities are considered equal if they are of the same class and have the same non-null identifier.

      If the ID is null, we treat it as a transient (new) object. Transient objects are only equal if they are the exact same instance.

      Overrides:
      equals in class BaseEntity<Long>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BaseEntity<Long>
    • toString

      public String toString()
      Overrides:
      toString in class Object