Skip to main content

TicketOrder and TicketItem Properties

The TicketOrder and TicketItem classes contain the following properties. At this point, you should define all of these except TicketOrder.Items and TicketItem.TicketOrder. We will create those two in a moment, when we learn about relationships.

Class Property Data Type Default
TicketOrder Items Cinema.TicketItemOpens in a new tab  
  Total %FloatOpens in a new tab(SCALE=2)  
  Complete %BooleanOpens in a new tab 0
TicketItem AdultTickets %IntegerOpens in a new tab 2
  ChildTickets %IntegerOpens in a new tab 0
  Show Cinema.ShowOpens in a new tab  
  TicketOrder Cinema.TicketOrderOpens in a new tab  
FeedbackOpens in a new tab