forgeplus/app/models/competition_notice_user.rb

22 lines
580 B
Ruby

# == Schema Information
#
# Table name: competition_notice_users
#
# id :integer not null, primary key
# competition_notice_id :integer
# user_id :integer
# created_at :datetime not null
# updated_at :datetime not null
#
# Indexes
#
# index_competition_notice_users_on_competition_notice_id (competition_notice_id)
# index_competition_notice_users_on_user_id (user_id)
#
class CompetitionNoticeUser < ApplicationRecord
belongs_to :competition_notice
belongs_to :user
end