# frozen_string_literal: true
# The course level notification. This is meant to be called by the Notifications Framework
#
# @api notifications
class Course::Notification < ActiveRecord::Base
  enum notification_type: { feed: 0, email: 1 }

  belongs_to :activity, inverse_of: :course_notifications
  belongs_to :course, inverse_of: :notifications
end
