personal_other_paper/app/models/other_paper_status.rb

9 lines
224 B
Ruby

class OtherPaperStatus
include Mongoid::Document
include Mongoid::Timestamps
field :status, :type => String, :default => "", :localize => true
field :sort_position, type: Integer, default: 0
has_many :other_papers
end