Add status field to orders
This commit is contained in:
parent
d4b76f6307
commit
e55ca30d20
5 changed files with 17 additions and 12 deletions
1
model.go
1
model.go
|
|
@ -17,6 +17,7 @@ type order struct {
|
|||
Location string
|
||||
Date time.Time
|
||||
Accepted time.Time
|
||||
Status string
|
||||
Paid int // increments of 0.01
|
||||
Cakes []cake
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue