cake-order-tracker/model.go
2025-02-07 09:27:20 +01:00

22 lines
299 B
Go

package main
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
Paid int // increments of 0.01
Cakes []cake
}