Class: Appraisal

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

Overview

== Schema Information

Table name: appraisals
Database name: primary

id :integer not null, primary key
created_at :datetime
updated_at :datetime
employee_record_id :integer
praise_id :integer

Indexes

by_pid_erid (praise_id,employee_record_id)
index_appraisals_on_employee_record_id (employee_record_id)

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_recordEmployeeRecord



18
# File 'app/models/appraisal.rb', line 18

belongs_to :employee_record

#praisePraise

Returns:

See Also:



19
# File 'app/models/appraisal.rb', line 19

belongs_to :praise, optional: true