module MdecCms
  class Article < ActiveRecord::Base
    has_many :posts, class_name: "MdecCms::Post"
    
    has_many :photos, class_name: "MdecCms::Photo"
    has_many :videos, class_name: "MdecCms::Video"
    
    belongs_to :page, class_name: "MdecCms::Page"
    
    
  end
end
