Class: LWS::Presence::Person

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

Overview

The person 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

#reload, #rollback, #save

Instance Attribute Details

#companyLWS::Auth::Company



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

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

#company_idInteger



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

attribute :company_id

#customer_referenceString?



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

attribute :customer_reference

#emailString?



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

attribute :email

#eroBoolean



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

attribute :ero

#extra_infoString?



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

attribute :extra_info

#import_refString?



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

attribute :import_ref

#last_syncString?



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

attribute :last_sync

#latFloat?



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

attribute :lat

#locationLocation



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

belongs_to :location

#location_ancestors_idsArray<Integer>



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

attribute :location_ancestor_ids

#location_idInteger



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

attribute :location_id

#longFloat?



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

attribute :long

#nameString



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

attribute :name

#phone_extensionString



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

attribute :phone_extension

#phone_fixedString



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

attribute :phone_fixed

#phone_mobileString



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

attribute :phone_moblie

#picture_urlString?



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

attribute :picture_url

#presentBoolean



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

attribute :present

#rfidString?



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

attribute :rfid

#status"available", ...



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

attribute :status

#udidString?



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

attribute :udid

#vehicle_registration_plateString?



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

attribute :vehicle_registration_plate

#visibility"public", "private"



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

attribute :visibility