aboutsummaryrefslogtreecommitdiff
path: root/app/models/agent.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/agent.rb')
-rw-r--r--app/models/agent.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/agent.rb b/app/models/agent.rb
new file mode 100644
index 0000000..bb33c1b
--- /dev/null
+++ b/app/models/agent.rb
@@ -0,0 +1,4 @@
+class Agent < ApplicationRecord
+ has_many :agencies
+ has_many :members, through: :agencies, source: :user
+end