module Base::EmployeeCategory
  extend ActiveSupport::Concern

  included do
    self.table_name = 'UserCategories'
    self.primary_key = 'CategoryID'

    alias_attribute :id, :CategoryID
    alias_attribute :school_id, :SchoolID
    alias_attribute :group_id, :UCGID
    alias_attribute :order, :Sequence
    alias_attribute :description, :Description
    alias_attribute :name, :Name
  end
end
