activity.models.volunteer

Attributes

VolunteerState

Classes

Volunteer

Describes a volunteer that has signed up to fulfill an

Module Contents

activity.models.volunteer.VolunteerState: typing_extensions.TypeAlias[source]
class activity.models.volunteer.Volunteer[source]

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

Describes a volunteer that has signed up to fulfill an occasion need.

__tablename__ = 'volunteers'[source]
id: Column[uuid.UUID][source]
state: Column[VolunteerState][source]
need_id: Column[uuid.UUID][source]
need: relationship[OccasionNeed][source]
token: Column[uuid.UUID][source]
first_name: Column[str][source]
last_name: Column[str][source]
address: Column[str][source]
zip_code: Column[str][source]
place: Column[str][source]
organisation: Column[str | None][source]
birth_date: Column[date][source]
email: Column[str][source]
phone: Column[str][source]