summaryrefslogtreecommitdiff
path: root/rvh/app
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-03-15 12:25:46 -0600
committermo khan <mo.khan@gmail.com>2020-03-15 12:25:46 -0600
commit6672665002658a8f7f16ab0ee4540bb04cf929b7 (patch)
tree001eaf08b4017a6745254b86e37e91efdb926ef0 /rvh/app
parentc0339682318e31c78a50e1845d944de1ed94ae8d (diff)
Record employee shifts for each care centre
Diffstat (limited to 'rvh/app')
-rw-r--r--rvh/app/models/shift.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/rvh/app/models/shift.rb b/rvh/app/models/shift.rb
new file mode 100644
index 0000000..df7adc2
--- /dev/null
+++ b/rvh/app/models/shift.rb
@@ -0,0 +1,4 @@
+class Shift < ApplicationRecord
+ belongs_to :care_centre
+ belongs_to :employee
+end