personal-technology-transfer/app/models/technology_transfer_categor...

9 lines
206 B
Ruby

class TechnologyTransferCategory
include Mongoid::Document
include Mongoid::Timestamps
field :title, localize: true
field :sort_position, type: Integer, default: 0
has_many :technology_transfers
end