summaryrefslogtreecommitdiff
path: root/rvh/app
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-03-15 12:22:11 -0600
committermo khan <mo.khan@gmail.com>2020-03-15 12:22:11 -0600
commitbf125e55535a1002e3e2c66b201727303df3c0b7 (patch)
tree56c382fa8cc94f255dd52014af6b264d4e008815 /rvh/app
parent87ef7d3c9cab6958c7d2c480edfe619bcab36e80 (diff)
Create beds
Diffstat (limited to 'rvh/app')
-rw-r--r--rvh/app/models/bed.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/rvh/app/models/bed.rb b/rvh/app/models/bed.rb
new file mode 100644
index 0000000..a6f78ee
--- /dev/null
+++ b/rvh/app/models/bed.rb
@@ -0,0 +1,4 @@
+class Bed < ApplicationRecord
+ belongs_to :care_centre
+ belongs_to :patient
+end