election_day.models.election.candidate_result

Classes

CandidateResult

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

Module Contents

class election_day.models.election.candidate_result.CandidateResult[source]

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

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

__tablename__ = 'candidate_results'[source]
id: Column[uuid.UUID][source]
votes: Column[int][source]
election_result_id: Column[uuid.UUID][source]
election_result: relationship[ElectionResult][source]
candidate_id: Column[uuid.UUID][source]
candidate: relationship[Candidate][source]