-
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_createdpaymentticket_typetimes_used
Describes one potential payment, or an attempt at creating a payment. Fields:
expires_atswish_idstatusemailsent_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:
titledescriptiontotal_seats-
max_tickets_per_payment: How many tickets a user is allowed to buy per payment sales_stop_atticket_typesreservation_durationevent_at
Describes one type of ticket (such as Student Discount Tickets or Full Price Tickets). Fields:
pricetitledescription