/**
 * KADiCon API
 *
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import { MenuItemCategoryResponse } from './menuItemCategoryResponse'

export interface MenuItemResponse {
	id: string
	name: string
	description?: string
	price: number
	currency: string
	amount: number
	unit: MenuItemResponse.UnitEnum
	allergens?: Array<string>
	coverUrl?: string
	isArchived: boolean
	categories: Array<MenuItemCategoryResponse>
	subcategories?: Array<MenuItemCategoryResponse>
}
export namespace MenuItemResponse {
	export const UnitEnum = {
		ml: 'ml',
		l: 'l',
		mg: 'mg',
		g: 'g',
		kg: 'kg',
		pcs: 'pcs',
	} as const
	export type UnitEnum = (typeof UnitEnum)[keyof typeof UnitEnum]
}
