UNPKG

cmp-aws-database

Version:

The package "cmp-aws-database" is for its database, which defines global tables. These tables are designed to be imported and used across multiple applications of "craft-my-plate."

58 lines (57 loc) 1.48 kB
import { BaseModel } from "../../../base-model"; export declare class PlateModel extends BaseModel { plateId: string; orderId: string; plateName: string; platterType: string; defaultPlatterId: string; totalItems: number; pricePerPlate: number; discountedPricePerPlate: number; guestCount: number; eventDate: string; foodInstructions?: string; timeInstructions?: string; eventTime: string; serviceType: string; addressId: string; servicePrice: number; discountedServicePrice: number; totalPrice: number; discountedTotalPrice: number; deliveryFees: number; deliveryFeeDiffrenceFor20KM: number; packagingCharge: number; gst: number; savedAmount: number; quantityChanged: string; occassionType: string; pureVegGuest?: number; spicyLavel?: string; consumeAlcohol?: string; tellUsMore?: string; doorStepServicePrice?: number; plateInvoiceUrl?: string; categories: Category[]; zohoBookIds?: ZohoBookIds; menuOrderId?: string; } export declare class Category { categoryId: string; categoryName: string; items: Item[]; } export declare class Item { itemId: string; itemName: string; itemPrice: number; itemType: string; itemQuantity: number; baseRatio: number; quantityUnit: string; } export declare class ZohoBookIds { zohoOrderId?: string; zohoInvoiceId?: string; zohoPaymentId?: string[]; }