module TenaDcms class Prescription < ApplicationRecord belongs_to :doctor belongs_to :patient end end