File

src/app/Restaurant.ts

Index

Properties

Properties

_id
_id: string
Type : string
name
name: string
Type : string
price
price: number
Type : number
quantity
quantity: number
Type : number
export interface MenuItem {
  _id: string;
  name: string;
  price: number;
  quantity: number;
}

export interface Restaurant {
  _id: string;
  name: string;
  owner: string;
  user: string;
  menuItems?: MenuItem[]; // Add the menuItems property as an optional array of MenuItem

}

results matching ""

    No results matching ""