Sha256: ae01983498fb9a637f3e9092f99c652122e6ae544f77f991826f239bb70ceb42

Contents?: true

Size: 515 Bytes

Versions: 4

Compression:

Stored size: 515 Bytes

Contents

module Sis
  module Core
    class StudentEligibility < ApplicationRecord
      belongs_to :student
      belongs_to :academic_year
      belongs_to :semester
      belongs_to :eligibility_criteria
      belongs_to :cleared_by, class_name: 'Sis::Core::User'

      delegate(:first_name, to: :student, prefix: true)
      delegate(:middle_name, to: :student, prefix: true)
      delegate(:last_name, to: :student, prefix: true)
      delegate(:description, to: :eligibility_criteria, prefix: true)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sis_core-1.0.20 app/models/sis/core/student_eligibility.rb
sis_core-1.0.19 app/models/sis/core/student_eligibility.rb
sis_core-1.0.18 app/models/sis/core/student_eligibility.rb
sis_core-1.0.17 app/models/sis/core/student_eligibility.rb