memberlog/app/models/dayoff.rb

15 lines
249 B
Ruby
Raw Normal View History

2017-02-13 17:27:57 +00:00
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