update order
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user