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: Column[uuid.UUID][source]
name: Column[str][source]
order: Column[str][source]
medium: Column[Medium][source]
address: Column[str][source]
extra: Column[str | None][source]
type: Column[str][source]
__mapper_args__[source]
name_observer(name: str) None[source]