module Base::EdFi::StudentLanguage
  extend ActiveSupport::Concern

  included do
    self.table_name = 'EdFi_StudentLanguages'
    self.primary_key = 'SLID'

    alias_attribute :id, :SLID
    alias_attribute :school_id, :SchoolID
    alias_attribute :student_id, :StudentID
    alias_attribute :language_id, :LanguageID
    alias_attribute :home, :Home
    alias_attribute :spoken, :Spoken
    alias_attribute :written, :Written
    alias_attribute :correspondence, :Correspondence
    alias_attribute :dominant, :Dominant
    alias_attribute :native, :Native
    alias_attribute :other_proficiency, :OtherProficiency
    alias_attribute :other, :Other
  end
end
