23 lines
395 B
C++
23 lines
395 B
C++
/*
|
|
Author: Joel Mathew Thomas
|
|
Date: 17-02-2026
|
|
*/
|
|
|
|
#pragma once
|
|
#include <map>
|
|
#include <memory>
|
|
#include "User.h"
|
|
#include "Restaurant.h"
|
|
#include "MenuItem.h"
|
|
|
|
using restaurants = std::map<int, std::shared_ptr<Restaurant>>;
|
|
|
|
class RestaurantOwner : public User
|
|
{
|
|
private:
|
|
restaurants m_restaurants;
|
|
public:
|
|
void addRestaurant(std::shared_ptr<Restaurant>);
|
|
restaurants& getRestaurants();
|
|
};
|