เป็นเรื่องปกติที่ร้านอาหารจะมีพื้นที่นั่งเล่นที่แตกต่างกัน เช่น บาร์หรือ นอกชาน ศูนย์การดำเนินการรองรับความแตกต่างนี้ และช่วยให้ผู้ใช้ ระบุพื้นที่ที่จะจองโต๊ะ ด้านล่างนี้เป็นตัวอย่างที่แสดง สำหรับ "บาร์" และ "ลานบ้าน" แตกต่างกันและจะแสดงต่อ ผู้ใช้อย่างชัดเจน:
คุณสามารถใช้การแยกพื้นที่โฆษณานี้ได้โดยการตั้งค่า
ช่อง room_id
และ room_name
ในresources
ข้อความของ
ช่วงเวลาความพร้อมใช้งาน
// 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
ที่ระบุได้
ในช่วง
ตัวอย่างฟีดอาหารเฉพาะประเภทธุรกิจ