class StageShixun < ApplicationRecord
  belongs_to :subject, counter_cache: :stages_count, counter_cache: :shixuns_count
  # belongs_to :subject, counter_cache: :shixuns_count
  belongs_to :shixun
  belongs_to :stage, counter_cache: :shixuns_count
end


