1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/app/models/cart_item/event_reservation_ticket.rb
2023-03-22 10:58:22 +01:00

10 lines
462 B
Ruby

# frozen_string_literal: true
# A relation table between a pending event reservation and a special price for this event
class CartItem::EventReservationTicket < ApplicationRecord
self.table_name = 'cart_item_event_reservation_tickets'
belongs_to :cart_item_event_reservation, class_name: 'CartItem::EventReservation', inverse_of: :cart_item_event_reservation_tickets
belongs_to :event_price_category, inverse_of: :cart_item_event_reservation_tickets
end