orbit-basic/app/models/desktop_widget.rb

13 lines
210 B
Ruby
Raw Normal View History

2012-05-07 11:00:50 +00:00
class DesktopWidget
include Mongoid::Document
include Mongoid::Timestamps
field :name
field :author
field :shape
field :desktop_id
field :status
field :section
2012-05-07 11:00:50 +00:00
belongs_to :desktop
2012-05-07 11:00:50 +00:00
end