cake-order-tracker/store/model.go
2025-03-21 23:35:55 +01:00

23 lines
317 B
Go

package store
import "time"
type Cake struct {
Name string
ID int
Price int
Amount int
}
type Order struct {
ID int
Name string
Surname string
Phone string
Location string
Date time.Time
Accepted time.Time
Status string
Paid int // increments of 0.01
Cakes []Cake
}