package
Version:
v0.0.0-...-45d79a7
Opens a new window with list of versions in this module.
Published: May 18, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Order struct {
gorm.Model
Name string `json:"name"`
OrderType uint `json:"order_type"`
OrderStatus uint `json:"order_status"`
OrderItems []OrderItem `json:"order_items"`
}
type OrderItem struct {
gorm.Model
OrderID uint `json:"order_id"`
Amount uint `json:"food_amount"`
FoodId uint `json:"food_id"`
Food Food `json:"food"`
}
type OrderItemExtra struct {
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.