socialforge/app/models/apply_homework.rb

7 lines
206 B
Ruby
Raw Normal View History

class ApplyHomework < ActiveRecord::Base
2016-05-12 09:30:06 +08:00
#status1. 等待回复 2.审核通过 3.已拒绝
belongs_to :user
belongs_to :homework_common
attr_accessible :status, :user_id, :homework_common_id
end