class Service::Setting < ApplicationRecord
  enum track: { both: 0, student: 1, family: 2 }, _prefix: true

  belongs_to :school

  after_save :send_notification

  private
    def send_notification
      Notification::ModuleConfigJob.perform_async(school_id)
    end
end
