Skip to content

Commit

Permalink
make meal plan and rate plan repeated in Unit
Browse files Browse the repository at this point in the history
  • Loading branch information
havan committed Dec 8, 2023
1 parent dcf4763 commit 5935946
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions proto/cmp/services/accommodation/v1alpha1/unit_types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -70,19 +70,19 @@ message Unit {
// Ex: "Double Standard Room"
string unit_description = 15;

// Mealplan code.
cmp.types.v1alpha1.MealPlan meal_plan_code = 16;
// Mealplan codes
repeated cmp.types.v1alpha1.MealPlan meal_plan_codes = 16;

// Rate plan
cmp.types.v1alpha1.RatePlan rate_plan = 17;
// Rate plans
repeated cmp.types.v1alpha1.RatePlan rate_plan = 17;

// Rate Rules
repeated cmp.types.v1alpha1.RateRule rate_rules = 18;

// Various provider and product specific filters can be provided here in
// agreed name/value pairs
// FIXME: Should this be in SearchParameters valid for the request and all units
// instead of Unit or in both? Do we need per Unit filters?
// instead of Unit or in both? Do we need per Unit filters?
// We have this also in `SearchParameters` now.
repeated cmp.types.v1alpha1.Filter filters = 19;

Expand Down

0 comments on commit 5935946

Please sign in to comment.