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

9 lines
206 B
Ruby
Raw Permalink Normal View History

2016-03-10 10:49:08 +00:00
class TechnologyTransferCategory
include Mongoid::Document
include Mongoid::Timestamps
field :title, localize: true
field :sort_position, type: Integer, default: 0
has_many :technology_transfers
end