2014-05-19 17:44:36 +08:00
|
|
|
class HomeworkUser < ActiveRecord::Base
|
|
|
|
attr_accessible :homework_attach_id, :user_id
|
|
|
|
|
2014-06-11 15:28:13 +08:00
|
|
|
belongs_to :homework_attach, :foreign_key => :homework_attach_id
|
2014-05-22 16:37:39 +08:00
|
|
|
belongs_to :user
|
2014-05-19 17:44:36 +08:00
|
|
|
end
|