nkuht-donate/app/models/nkuht_donate_department.rb

9 lines
155 B
Ruby

class NkuhtDonateDepartment
include Mongoid::Document
include Mongoid::Timestamps
field :title, localize: true
belongs_to :nkuht_donate_main
end