-
Notifications
You must be signed in to change notification settings - Fork 1
Backend: Models
zL2noob edited this page Dec 5, 2024
·
5 revisions
This is a list of all models used in the Django database, along with their fields.
Describes one potential ticket, or an attempt at creating a ticket. Fields:
id
-
external_id
: Six letters (unique) used to identify this ticket in external settings, ie. what is shown to the customer time_created
payment
ticket_type
times_used
Describes one potential payment, or an attempt at creating a payment. Fields:
expires_at
swish_id
status
email
sent_email
-
payment_started
: Whether a real (Swish) payment may have been started; if so, this Payment should not be cleaned.
Describes one event at Fysiksektionen (such as one day of Fysikalen) where tickets can be bought. Fields:
title
description
total_seats
-
max_tickets_per_payment
: How many tickets a user is allowed to buy per payment sales_stop_at
ticket_types
reservation_duration
event_at
Describes one type of ticket (such as Student Discount Tickets or Full Price Tickets). Fields:
price
title
description