p-Parking-Garage / CSC330_MidtermProj_Parking / Employee.h
Employee.h
Raw
// Class: Employee
// Inherits from Person
//
#pragma once
#include <iostream>
#include <vector>
#include "Person.h"

using namespace std;

class Employee : public Person
{
public:
	Employee();
	Employee(string, string, string);
	string getEmplid();
	string getPassword();
	string getName();
	string getEmpName(vector <Employee>, string); // will retrieve employees name IF employees name entered was correct - ADVANCED SECURITY MEASURE
	string getEmpPassword(vector <Employee>, string); // will retrieve password IF employees ID entered was correct - ADVANCED SECURITY MEASURE
	bool emplidCheck(vector <Employee>, string); // check if employee id entered is correct from database
	bool passwordCheck(vector <Employee>, string); // check if password entered is correct from database
	virtual void print();

private:
	string emplid;
	string password;
};