socialforge/app/models/sub_domain.rb

6 lines
242 B
Ruby
Raw Normal View History

2016-04-27 17:02:44 +08:00
class SubDomain < ActiveRecord::Base
attr_accessible :field_type, :hide, :name, :org_subfield_id, :priority, :status
belongs_to :org_subfield, :foreign_key => :org_subfield_id
has_many :sub_document_comments, :dependent => :destroy
2016-04-27 17:02:44 +08:00
end