Rezervacije

This commit is contained in:
2024-08-06 14:16:40 +02:00
parent 8d5a410c60
commit 6d5509856f
58 changed files with 1052 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
class Reservation < ApplicationRecord
belongs_to :company
belongs_to :customer
belongs_to :place
validates :company_id, presence: true
validates :customer_id, presence: true
validates :place_id, presence: true
end