15 lines
249 B
Ruby
15 lines
249 B
Ruby
|
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
|