recipient.model

Attributes

Medium

Classes

GenericRecipient

A generic recipient class with polymorphic support.

Module Contents

recipient.model.Medium: TypeAlias = Literal['phone', 'email', 'http'][source]
class recipient.model.GenericRecipient[source]

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

A generic recipient class with polymorphic support.

__tablename__ = 'generic_recipients'[source]
id: sqlalchemy.Column[uuid.UUID][source]
name: sqlalchemy.Column[str][source]
order: sqlalchemy.Column[str][source]
medium: sqlalchemy.Column[Medium][source]
address: sqlalchemy.Column[str][source]
extra: sqlalchemy.Column[str | None][source]
type: sqlalchemy.Column[str][source]
__mapper_args__[source]
name_observer(name: str) None[source]