orbit-basic/app/models/desktop/tile.rb

14 lines
212 B
Ruby

class Tile
include Mongoid::Document
include Mongoid::Timestamps
field :data_category
field :data_content
field :position, type: Integer
field :shape
field :title
belongs_to :group
end