Class AgeGroup
java.lang.Object
com.endurancetrio.data.common.model.entity.AuditableEntity
com.endurancetrio.data.common.model.entity.BaseEntity<Long>
com.endurancetrio.data.competitor.model.entity.AgeGroup
- All Implemented Interfaces:
Serializable
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquality is based on the entity's identifier.getCode()inthashCode()voidvoidsetDenominationEN(String denominationEN) voidsetDenominationPT(String denominationPT) toString()Methods inherited from class com.endurancetrio.data.common.model.entity.BaseEntity
getId, setIdMethods inherited from class com.endurancetrio.data.common.model.entity.AuditableEntity
getCreatedAt, getUpdatedAt, getVersion
-
Constructor Details
-
AgeGroup
public AgeGroup()
-
-
Method Details
-
getCode
-
setCode
-
getDenominationEN
-
setDenominationEN
-
getDenominationPT
-
setDenominationPT
-
equals
Description copied from class:BaseEntityEquality 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:
equalsin classBaseEntity<Long>
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseEntity<Long>
-
toString
-