/**
 * 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.
 */

export interface OrderItemResponse {
	id: string
	name: string
	quantity: number
	quantityUnit: OrderItemResponse.QuantityUnitEnum
	unitPrice: number
	paidQuantity: number
	paid: boolean
	state: OrderItemResponse.StateEnum
	course?: number
	menuItemId: string
}
export namespace OrderItemResponse {
	export const QuantityUnitEnum = {
		ml: 'ml',
		l: 'l',
		mg: 'mg',
		g: 'g',
		kg: 'kg',
		pcs: 'pcs',
	} as const
	export type QuantityUnitEnum = (typeof QuantityUnitEnum)[keyof typeof QuantityUnitEnum]
	export const StateEnum = {
		pending: 'pending',
		ready_to_cook: 'ready_to_cook',
		cooking: 'cooking',
		ready_to_serve: 'ready_to_serve',
		served: 'served',
		done: 'done',
		rejected: 'rejected',
	} as const
	export type StateEnum = (typeof StateEnum)[keyof typeof StateEnum]
}
