pas.models.commission_membership

Attributes

MembershipRole

ROLES

Classes

CommissionMembership

Mixin providing created/modified timestamps for all records.

Module Contents

pas.models.commission_membership.MembershipRole: typing_extensions.TypeAlias[source]
pas.models.commission_membership.ROLES: dict[MembershipRole, str][source]
class pas.models.commission_membership.CommissionMembership[source]

Bases: onegov.core.orm.Base, onegov.core.orm.mixins.TimestampMixin

Mixin providing created/modified timestamps for all records.

The columns are deferred loaded as this is primarily for logging and future forensics.

__tablename__ = 'pas_commission_memberships'[source]
id: Column[uuid.UUID][source]
start: Column[date | None][source]
end: Column[date | None][source]
role: Column[MembershipRole][source]
property role_label: str[source]
commission_id: Column[uuid.UUID][source]
commission: relationship[Commission][source]
parliamentarian_id: Column[uuid.UUID][source]
parliamentarian: relationship[Parliamentarian][source]