Orbit/app/models/tile.rb

15 lines
213 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