cake-order-tracker/model.go
2025-03-18 22:30:16 +01:00

23 lines
316 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
Status string
Paid int // increments of 0.01
Cakes []cake
}