election_day.models.election.list_result

Classes

ListResult

The election result of a list in a single political entity.

Module Contents

class election_day.models.election.list_result.ListResult[source]

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

The election result of a list in a single political entity.

__tablename__ = 'list_results'[source]
id: Column[uuid.UUID][source]
votes: Column[int][source]
election_result_id: Column[uuid.UUID][source]
election_result: relationship[ElectionResult][source]
list_id: Column[uuid.UUID][source]
list: relationship[List][source]