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

using namespace std;

class Apartment : public Person
{
public:
	Apartment();
	Apartment(string, string, string);
	string getAptrNumber();
	string getName();
	string getAptrTen(vector <Apartment>, string); // will retrieve tenants name IF the apartment number entered was correct - ADVANCED SECURITY MEASURE
	bool roomNumCheck(vector <Apartment>, string); // will be used to check if the number entered by the number matches
	virtual void print();

private:
	string aptno;
	string avail;
};