//
//  RestaurantModel.swift
//  FoodPool
//
//  Created by Ayşe Nur Bakırcı on 15.08.2021.
//

public struct RestaurantResult: Decodable {
    public var restaurant: Restaurant
}

public struct Restaurant: Decodable {
    public var storageName: String
    public var mealStorageName: String
    public var results: [RestaurantModel]
}

public struct RestaurantModel: Decodable {
    public var id: Int
    public var restaurantName: String
    public var restaurantImageName: String
    public var restaurantAddress: String
    public var restaurantCuisineType: String
    public var restaurantIsOpen: Bool
    public var restaurantMeals: [RestaurantMenuModel]
    public var restaurantDrinks: [RestaurantMenuModel]
}

public struct RestaurantMenuModel: Decodable {
    public var image: String
    public var name: String
    public var price: String
}
