Class: LWS::Presence::Journal

Inherits:
Generic::Model show all
Defined in:
lib/lws/apps/presence.rb

Overview

Note:

This class is only used within the context of the Location class.

The journal (entry) class

Instance Attribute Summary collapse

Attributes inherited from Generic::Model

#created_at, #id, #updated_at, #url, #url_html

Method Summary

Methods inherited from Generic::Model

#deep_dup, #dig, #reload, #rollback, #save

Instance Attribute Details

#check_inString



100
# File 'lib/lws/apps/presence.rb', line 100

attribute :check_in

#check_outString?



104
# File 'lib/lws/apps/presence.rb', line 104

attribute :check_out

#companyLWS::Auth::Company



108
# File 'lib/lws/apps/presence.rb', line 108

belongs_to :company, class_name: "LWS::Auth::Company"

#company_idInteger



112
# File 'lib/lws/apps/presence.rb', line 112

attribute :company_id

#locationLocation



116
# File 'lib/lws/apps/presence.rb', line 116

belongs_to :location

#location_idInteger



120
# File 'lib/lws/apps/presence.rb', line 120

attribute :location_id

#personPerson



124
# File 'lib/lws/apps/presence.rb', line 124

belongs_to :person

#person_idInteger



128
# File 'lib/lws/apps/presence.rb', line 128

attribute :person_id