Orbit/app/models/desktop_widget.rb

13 lines
210 B
Ruby

class DesktopWidget
include Mongoid::Document
include Mongoid::Timestamps
field :name
field :author
field :shape
field :desktop_id
field :status
field :section
belongs_to :desktop
end