module Base::Nursing::Complaint
  extend ActiveSupport::Concern

  included do
    self.table_name = 'StudentMedicalComplaints'
    self.primary_key = 'SMCID'

    alias_attribute :id, :SMCID
    alias_attribute :school_id, :SchoolID
    alias_attribute :order, :Sequence
    alias_attribute :code, :Code
    alias_attribute :name, :Name
  end
end
