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
|
2013-04-01 10:00:47 +00:00
|
|
|
field :row, type: Integer
|
|
|
|
field :column, type: Integer
|
2012-04-11 07:31:10 +00:00
|
|
|
field :shape
|
2013-03-25 10:44:06 +00:00
|
|
|
field :fullsize, type: Boolean
|
2012-04-11 07:31:10 +00:00
|
|
|
field :title
|
|
|
|
|
2012-04-03 10:25:41 +00:00
|
|
|
belongs_to :group
|
2013-03-25 10:44:06 +00:00
|
|
|
belongs_to :desktop_widget
|
2013-05-14 09:18:05 +00:00
|
|
|
belongs_to :desktop_app
|
2012-11-01 12:42:40 +00:00
|
|
|
|
2012-04-03 10:25:41 +00:00
|
|
|
end
|