Files
Training-1914-Jan26/Trenser.FoodDeliveryApp/Trenser.FoodDeliveryApp/RestaurantOwner.h
T
2026-02-18 13:14:08 +05:30

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();
};