update order

This commit is contained in:
aditya.siregar
2025-05-06 00:40:43 +07:00
parent f98200f76b
commit 93ddfdaecc
5 changed files with 31 additions and 15 deletions
+4
View File
@@ -30,6 +30,10 @@ type Order struct {
InProgressOrderID int64
}
func (o *Order) IsMemberOrder() bool {
return o.CustomerID != nil && *o.CustomerID > 0
}
type OrderDB struct {
Order
}