election_day.models.election.candidate_panachage_result

Classes

CandidatePanachageResult

Mixin providing created/modified timestamps for all records.

Module Contents

class election_day.models.election.candidate_panachage_result.CandidatePanachageResult[source]

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

Mixin providing created/modified timestamps for all records.

The columns are deferred loaded as this is primarily for logging and future forensics.

__tablename__ = 'candidate_panachage_results'[source]
id: Column[uuid.UUID][source]
election_result_id: Column[uuid.UUID][source]
election_result: relationship[ElectionResult][source]
target_id: Column[uuid.UUID][source]
candidate: relationship[Candidate][source]
source_id: Column[uuid.UUID | None][source]
list: relationship[List] | None[source]
votes: Column[int][source]