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

19 lines
359 B
Ruby

class Tile
include Mongoid::Document
include Mongoid::Timestamps
field :data_category
field :data_content
field :position, type: Integer
field :row, type: Integer
field :column, type: Integer
field :shape
field :fullsize, type: Boolean
field :title
belongs_to :group
belongs_to :desktop_widget
belongs_to :desktop_app
end