dining facility model

This commit is contained in:
Nweni
2017-06-20 07:42:05 +06:30
parent a71ee3657a
commit bdb42daad7
2 changed files with 1 additions and 4 deletions

View File

@@ -1,7 +1,5 @@
class Booking < ApplicationRecord
self.primary_key = "booking_id"
#primary key - need to be unique

View File

@@ -1,7 +1,6 @@
class DiningFacility < ApplicationRecord
belongs_to :zone
has_many :bookings
TABLE_TYPE = "Table"
ROOM_TYPE = "Room"