Skip to main content
Previous section   Next section

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.TicketItem  
  Total %Float(SCALE=2)  
  Complete %Boolean 0
TicketItem AdultTickets %Integer 2
  ChildTickets %Integer 0
  Show Cinema.Show  
  TicketOrder Cinema.TicketOrder