Skip to main content

Module ticket

Module ticket 

Source

Structs§

Ticket
Ticket Entity - Maintenance request from owners

Enums§

TicketCategory
Ticket Category - Types of maintenance requests
TicketKind
Story 3.6 (FR31) — Distinguishes a maintenance request (default) from a formal complaint (incident report → triage / mediation workflow).
TicketPriority
Ticket Priority
TicketSeverity
Story 3.6 (FR31) — Severity tier for ticket triage. Ordered so callers can compare (e.g. >= High) when deciding alerting / SLA targets.
TicketStatus
Ticket Status - Workflow states

Constants§

MAX_EVIDENCE_ATTACHMENTS
Story 3.6 (FR31) — Hard cap on the number of evidence URLs accepted on a single ticket (anti-abuse + UI sanity).
MAX_WITNESSES
Story 3.6 (FR31) — Hard cap on the number of witnesses on a single ticket.
TICKET_EDIT_WINDOW_MINUTES
Story 3.6 (INV-24) — Ticket is locked to direct edits beyond this window after creation. Subsequent changes go through workflow endpoints (assign, resolve, …) which carry their own typed errors.