Class Definitions

This commit is contained in:
Joel Thomas
2026-02-18 01:43:34 +05:30
parent 915df9dd61
commit 7c17576e8c
16 changed files with 345 additions and 29 deletions
@@ -1,5 +1,21 @@
/*
Author: Joel Mathew Thomas
Date: 17-02-2026
*/
#pragma once
#include <vector>
#include "User.h"
#include "Restaurant.h"
#include "MenuItem.h"
using restaurants = std::vector<Restaurant*>;
class RestaurantOwner : public User
{
private:
restaurants m_restaurants;
public:
void addRestaurant(Restaurant*);
restaurants& getRestaurants();
};