class Base::Session < ApplicationRecord
  self.table_name = 'Sessions'
  self.primary_key = 'SessionID'

  alias_attribute :id, :SessionID
  alias_attribute :school_id, :SchoolID
  alias_attribute :username, :UserName
  alias_attribute :secure, :Secure
  alias_attribute :started, :Started
  alias_attribute :updated, :Updated
  alias_attribute :completed, :Completed
  alias_attribute :user_id, :UserID
  alias_attribute :family_id, :FamilyID
  alias_attribute :student_id, :StudentID
  # alias_attribute :ended, :Ended
  # alias_attribute :ip_address, :IPAddress
  # alias_attribute :host_name, :HostName
end
