Add order items

This commit is contained in:
Aditya Siregar
2025-08-08 22:33:08 +07:00
parent c18e915d1e
commit 8e9c14b860
14 changed files with 427 additions and 200 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ func (s *SplitBillRequest) IsAmount() bool {
type SplitBillItemRequest struct {
OrderItemID uuid.UUID `validate:"required"`
Amount float64 `validate:"required,min=0"`
Quantity int `validate:"required,min=0"`
}
type SplitBillResponse struct {