leaguemanager.models.baseline.membership.official¶
Module Contents¶
Classes¶
An official or referee of competitions/fixtures. |
Data¶
API¶
- class leaguemanager.models.baseline.membership.official.Official¶
Bases:
leaguemanager.models.base.IndividualBaseAn official or referee of competitions/fixtures.
It is sometimes possible for an Official to fill other IndividualBase roles (competing/managing). As a result, an Official is primarily linked to an OfficialMembership object. The OfficialMembership object will can then be used to track which League or Leagues they can officiate, and can also track start/end dates for said membership.
Notice that many attributes are inherited from the IndividualBase class.
Attributes: id (UUID): Inherited from UUIDAuditBase officiating_id (UUID): ForeignKey for Officiating. label (str): If present, used to identify the Official. license (str): Used to determine if Official has certification and/or license. verified (bool): Whether the Official has been verified to officiate.
first_name (str): Inherited from IndividualBase. middle_name (str): Inherited from IndividualBase. last_name (str): Inherited from IndividualBase. full_name (str): Inherited from IndividualBase. alias (str): Inherited from IndividualBase. email (str): Inherited from IndividualBase. mobile_phone (str): Inherited from IndividualBase. created_at (datetime): Inherited from UUIDAuditBase updated_at (datetime): Inherited from UUIDAuditBase
- officiating_id: uuid.UUID | None¶
‘field(…)’
- label: str | None¶
‘field(…)’
- license: str | None¶
‘field(…)’
- verified: bool¶
‘field(…)’
- leaguemanager.models.baseline.membership.official.official¶
‘Table(…)’