leaguemanager.models.baseline.membership.manager

Module Contents

Classes

Manager

A manager/coach or part of coaching staff for a Team.

Data

manager

API

class leaguemanager.models.baseline.membership.manager.Manager

Bases: leaguemanager.models.base.IndividualBase

A manager/coach or part of coaching staff for a Team.

It is sometimes possible for an Manager to mnage different Teams, or in some cases, fill other IndividualBase roles (officiating/competing). As a result, a Manager is not directly linked to a Team, but rather to a ManagerMembership object. The ManagerMembership object will then define the Team that they manage, a and it 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 managing_id (UUID): ForeignKey to Managing. label (str): If present, used to identify the Manager.

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
managing_id: uuid.UUID | None

‘field(…)’

label: str | None

‘field(…)’

leaguemanager.models.baseline.membership.manager.manager

‘Table(…)’