Orbit/app/models/user/status.rb

11 lines
173 B
Ruby

class Status
include Mongoid::Document
include Mongoid::Timestamps
belongs_to :role
has_and_belongs_to_many :sub_roles
field :title, localize: true
end