metamaps--metamaps/app/models/in_metacode_set.rb
2016-09-24 11:00:46 +08:00

5 lines
235 B
Ruby

# frozen_string_literal: true
class InMetacodeSet < ApplicationRecord
belongs_to :metacode, class_name: 'Metacode', foreign_key: 'metacode_id'
belongs_to :metacode_set, class_name: 'MetacodeSet', foreign_key: 'metacode_set_id'
end