Class: EmployeeSurveyEnrollment

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

Overview

== Schema Information

Table name: employee_survey_enrollments
Database name: primary

id :bigint not null, primary key
created_at :datetime not null
updated_at :datetime not null
employee_id :bigint not null
survey_enrollment_id :bigint not null

Indexes

index_employee_survey_enrollments_on_employee_id (employee_id)
index_employee_survey_enrollments_on_survey_enrollment_id (survey_enrollment_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

#employeeEmployee

Returns:

See Also:



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

belongs_to :employee

#survey_enrollmentSurveyEnrollment



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

belongs_to :survey_enrollment