Api Booking Engine or Reservation System.
tham khảo từ https://developer.ean.com/ Thực thể Room: - id - availability: {standard | service_unavailable | unknown_internal_error} - cost: trọng số, sức chứa, giá - price_status: {matched|price_change|sold_out} - reservation_status: {pending|booked|canceled} - room_status: {standard | service_unavailable | internal_server_error | price_unavailable | price_mismatch | cc_declined | rooms_unavailable} Finite State Machine(FSM) nên sử dụng kết hợp để quản lí trạng thái Rooms. FSM nên là duy nhất, tách nghiệp vụ booking và hệ thống Rooms. Appointment Scheduling(option): accept real time booking. Dùng Scheduling kết hợp queue để điều tiết giao dịch booking, hạn chế lock khi có giao dịch đồng thời booking trên vùng rooms. Tham khảo thêm: ean api doc finite state machines Qloapps : Fully Open Source Hotel Booking and Reservation System solidres : Fully Open Source Software HotelDruid : Fully Open Source Software Jomres ...