class CategoryStudent < ApplicationRecord
  audited

  include Base::CategoryStudent

  associations_for legacy: true do |a|
    a.belongs_to :student
  end

  belongs_to :category, class_name: 'StudentCategory', foreign_key: :SCID,
    inverse_of: :category_students
end
