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)

Constant Summary

Constants included from Schedulable

Schedulable::SIMPLE_FORM_OPTIONS

Belongs to collapse

Methods inherited from ApplicationRecord

ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation

Methods included from Schedulable

config

Methods included from Models::AfterCommittable

#after_commit

Methods included from Models::EventPublishable

#publish_event

Instance Method Details

#employee_recordEmployeeRecord



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

belongs_to :employee_record

#praisePraise

Returns:

See Also:



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

belongs_to :praise, optional: true