From 5935946c5b18399e957c88eeef809366a1596a91 Mon Sep 17 00:00:00 2001 From: Ekrem Seren Date: Fri, 8 Dec 2023 03:09:50 +0300 Subject: [PATCH] make meal plan and rate plan repeated in Unit --- .../services/accommodation/v1alpha1/unit_types.proto | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/proto/cmp/services/accommodation/v1alpha1/unit_types.proto b/proto/cmp/services/accommodation/v1alpha1/unit_types.proto index cc862fb0..f293b79f 100644 --- a/proto/cmp/services/accommodation/v1alpha1/unit_types.proto +++ b/proto/cmp/services/accommodation/v1alpha1/unit_types.proto @@ -70,11 +70,11 @@ 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; @@ -82,7 +82,7 @@ message Unit { // 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;