Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #34 from HPI-de/issue/24-make-menuitem-more-custom…
Browse files Browse the repository at this point in the history
…izable

feat(food): make MenuItem more customizable
  • Loading branch information
JonasWanke authored Aug 18, 2019
2 parents 522c995 + b9ca373 commit 22ff41b
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions hpi/cloud/food/v1test/restaurant.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,26 @@ message MenuItem {
// Required. The date of when this menu was/will be served.
google.type.Date date = 3;

// The counter where this item is served.
string counter = 4;

// Required. The price to pay for this item, depending on the customer (e.g. student, guest, default ...).
map<string, google.type.Money> prices = 5;

// Required. The title.
string title = 4;
string title = 6;

// Optional. An optional substitution that's offered to the hungry consumer.
string substitution = 5;
// IDs of the labels of the item.
repeated string label_ids = 7;

// Required. The price to pay for this item.
google.type.Money price = 6;
message Substitution {
string title = 1;

// Optional. The counter where this item is served.
string counter = 7;
repeated string label_ids = 2;
}

// Optional. IDs of the labels of the item.
repeated string label_ids = 8;
// An optional substitution that's offered to the hungry consumer.
Substitution substitution = 8;
}

// A label on a menu item.
Expand Down

0 comments on commit 22ff41b

Please sign in to comment.