nkuht-donate/app/models/nkuht_donate_unit.rb

9 lines
149 B
Ruby

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