ডাইনিং বসার বিভাগ যোগ করুন

রেস্তোরাঁগুলির জন্য আলাদা বসার জায়গা, যেমন একটি বার বা বহিঃপ্রাঙ্গণ থাকা সাধারণ। অ্যাকশন সেন্টার এই পার্থক্যটিকে সমর্থন করে এবং ব্যবহারকারীকে একটি টেবিল বুক করার জন্য এলাকা নির্দিষ্ট করার অনুমতি দেয়। এর একটি উদাহরণ নীচে দেখানো হয়েছে, যেখানে "বার" এবং "প্যাটিও" এর জন্য উপলব্ধতা আলাদা এবং ব্যবহারকারীর কাছে স্বতন্ত্রভাবে উপস্থাপন করা হয়েছে:

চিত্র 1: আসন বিভাগ সহ একটি রেস্টুরেন্টের জন্য স্লট নির্বাচনের উদাহরণ
চিত্র 1: আসন বিভাগ সহ একটি রেস্টুরেন্টের জন্য স্লট নির্বাচনের উদাহরণ

এই ইনভেন্টরি বিভাজনটি একটি উপলব্ধতা স্লটের resources বার্তায় room_id এবং room_name ক্ষেত্রগুলি সেট করে নিযুক্ত করা যেতে পারে।

// A resource is used to disambiguate availability slots from one another when
// different staff, room or party_size values are part of the service.
// Multiple slots for the same service and time interval can co-exist when they
// have different resources.
message Resources {
  // One of staff_id, room_id, or party_size must be set.

  // Optional ID for a staff member providing the service. This field identifies
  // the staff member across all merchants, services, and availability records.
  // It also needs to be stable over time to allow correlation with past
  // bookings. (optional but required if staff_name is present)
  string staff_id = 1;

  // Optional name of a staff member providing the service. This field will be
  // displayed to users making a booking, and should be human-readable, as
  // opposed to an opaque identifier. (optional but required if staff_id is
  // present)
  string staff_name = 2;

  // An optional ID for the room the service is located in. This field
  // identifies the room across all merchants, services, and availability
  // records. It also needs to be stable over time to allow correlation with
  // past bookings. (optional but required if room_name is present)
  string room_id = 3;

  // An optional name for the room the service is located in. This
  // field will be displayed to users making a booking, and should be human
  // readable, as opposed to an opaque identifier. (optional but required if
  // room_id is present)
  // In dining a room name should only be used for seating areas such as the bar
  // or patio and should not be used for fixed price menus, special activities,
  // or any other non-room value (such as reservation or dinner). It is strongly
  // recommended that the default seating area not have a room associated with
  // it.
  string room_name = 4;

  // Applicable only for Dining: The party size that can be accommodated
  // during this time slot. A restaurant can be associated with multiple Slots
  // for the same time, each specifying a different party_size, if for instance
  // 2, 3, or 4 people can be seated with a reservation. (optional)
  int32 party_size = 5;

}

এই তথ্যটি একটি স্লট সংজ্ঞার একটি অবিচ্ছেদ্য অংশ এবং ফিডের পাশাপাশি সমস্ত বুকিং এবং রিয়েল-টাইম আপডেট অপারেশনগুলিতে অন্তর্ভুক্ত করা প্রয়োজন৷ আপনি ডাইনিং, উল্লম্ব-নির্দিষ্ট ফিড উদাহরণে নির্দিষ্ট করা room_id এবং room_name এর উদাহরণ দেখতে পারেন।