예제 #1
0
 public GateAction(ICompositeKey <GateAction> id, string name, DateTimeOffset beginDateTime,
                   GateEntityReference <GateHallScheme> hallSchemeReference,
                   ExtraData extraData = null) : base(id, name, extraData)
 {
     BeginDateTime       = beginDateTime;
     HallSchemeReference = hallSchemeReference;
 }
예제 #2
0
 public GateCustomerInfo(string firstName, string lastName, string phone, string email,
                         GateEntityReference <GateCustomer> customerReference = null)
 {
     FirstName         = firstName;
     LastName          = lastName;
     Phone             = phone;
     Email             = email;
     CustomerReference = customerReference;
 }
예제 #3
0
 public GateOrder(ICompositeKey <GateOrder> id, string name,
                  GateEntityReference <GateCustomer> customerReference, DateTimeOffset?expires,
                  GateOrderTicket[] orderTickets, GateEntityReference <GatePayment> paymentReference, GateOrderState state,
                  ExtraData extraData = null) : base(id, name,
                                                     extraData)
 {
     CustomerReference = customerReference;
     Expires           = expires;
     OrderTickets      = orderTickets;
     PaymentReference  = paymentReference;
     State             = state;
 }
예제 #4
0
 public GateTicket(ICompositeKey <GateTicket> id, string name,
                   GateEntityReference <GateHallArea> hallAreaReference,
                   GateEntityReference <GateHallSeat> seatReference, GateEntityReference <GateTariff> tariffReference,
                   decimal price, GateEntityReference <GateTicketType> ticketTypeReference, GateTicketState state,
                   ExtraData extraData = null) : base(id, name, extraData)
 {
     SeatReference       = seatReference;
     TariffReference     = tariffReference;
     Price               = price;
     TicketTypeReference = ticketTypeReference;
     State               = state;
     HallAreaReference   = hallAreaReference;
 }
예제 #5
0
 public GateOrderTicket(ICompositeKey <GateOrderTicket> id, string name,
                        GateEntityReference <GateTicket> ticketReference,
                        GateEntityReference <GateHallSeat> seatReference, GateEntityReference <GateTariff> tariffReference,
                        decimal price,
                        GateEntityReference <GateTicketType> ticketTypeReference,
                        string barcode      = null,
                        ExtraData extraData = null) : base(id,
                                                           name, extraData)
 {
     TicketReference     = ticketReference;
     SeatReference       = seatReference;
     TariffReference     = tariffReference;
     Price               = price;
     Barcode             = barcode;
     TicketTypeReference = ticketTypeReference;
 }
예제 #6
0
 public GateHall(ICompositeKey <GateHall> id, string name, GateEntityReference <GateVenue> venueReference,
                 ExtraData extraData = null) : base(id, name, extraData)
 {
     VenueReference = venueReference;
 }
예제 #7
0
 public BookingResponse(GateEntityReference <GateOrder> gateOrderReference)
 {
     GateOrderReference = gateOrderReference;
 }