This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/models/desktop/tile.rb

15 lines
238 B
Ruby
Raw Normal View History

2012-04-03 10:25:41 +00:00
class Tile
include Mongoid::Document
include Mongoid::Timestamps
2012-04-11 07:31:10 +00:00
field :data_category
field :data_content
field :position, type: Integer
field :shape
field :title
2012-04-03 10:25:41 +00:00
belongs_to :group
2012-11-05 15:04:54 +00:00
has_one :desktop_widget
2012-11-01 12:42:40 +00:00
2012-04-03 10:25:41 +00:00
end