Class: EmployeePhoneStatusChange

Inherits:
ApplicationRecord show all
Defined in:
app/models/employee_phone_status_change.rb

Overview

== Schema Information

Table name: employee_phone_status_changes
Database name: primary

id :integer not null, primary key
date_set :datetime not null
original_date_set :datetime
original_presence :string
original_sub_presence :string
presence :string not null
sub_presence :string
employee_phone_status_id :integer not null

Indexes

index_employee_phone_status_changes_on_employee_phone_status_id (employee_phone_status_id)

Foreign Keys

fk_rails_... (employee_phone_status_id => employee_phone_statuses.id) ON DELETE => cascade

Belongs to collapse

Methods inherited from ApplicationRecord

ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation

Methods included from Models::EventPublishable

#publish_event

Instance Method Details

#employee_phone_statusEmployeePhoneStatus



24
# File 'app/models/employee_phone_status_change.rb', line 24

belongs_to :employee_phone_status, optional: true