archive/app/models/archive_category.rb

5 lines
124 B
Ruby

class ArchiveCategory
include Mongoid::Document
field :category_id, type: String
field :sort_number, type: Integer
end