socialforge/app/models/contestant_work_project.rb

9 lines
261 B
Ruby
Raw Normal View History

2016-12-22 10:01:37 +08:00
class ContestantWorkProject < ActiveRecord::Base
belongs_to :contest
belongs_to :work
belongs_to :contestant_work
belongs_to :project
belongs_to :user
2016-12-23 16:58:50 +08:00
attr_accessible :is_leader, :contest_id, :work_id, :contestant_work_id, :project_id, :user_id
2016-12-22 10:01:37 +08:00
end