activity.models.occasion_need

Classes

OccasionNeed

Defines a required resource on an occasion.

Module Contents

class activity.models.occasion_need.OccasionNeed[source]

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

Defines a required resource on an occasion.

__tablename__ = 'occasion_needs'[source]
id: Column[uuid.UUID][source]
name: Column[str][source]
description: Column[str | None][source]
number: Column[BoundedIntegerRange][source]
accept_signups: Column[bool][source]
occasion_id: Column[uuid.UUID][source]
occasion: relationship[Occasion][source]
volunteers: relationship[list[Volunteer]][source]
__table_args__[source]