class Dayoff < PersonalPluginIntro include Mongoid::Document include Mongoid::Timestamps belongs_to :member_log field :dayoff_description, localize: true field :start_dayoff, :type => DateTime field :end_dayoff, :type => DateTime end