Skip to main content

ภาพรวม Booking

ccr-booking-service เป็นแกนหลักของระบบ CCR ในส่วนรายการจอง รับผิดชอบทั้ง customer-facing booking และ backoffice operation

Capability หลัก

Capabilityรายละเอียด
Create bookingรับข้อมูลรถ, สาขา, ผู้ติดต่อ, ผู้ขับ, add-on, policy consent และสร้าง booking
View bookingแสดง booking list/detail และ history
Edit bookingเปลี่ยนข้อมูล booking หลังสร้างรายการ พร้อมคำนวณส่วนต่าง
Cancel bookingเก็บ cancellation reason และอัปเดตสถานะ
Refundจัดการ refund request และ status workflow
Payment supportผูก payment transaction กับ booking info
Email queueจัดคิว email เช่น booking confirmation, refund, additional payment

Controller หลัก

ControllerRouteใช้โดย
PublicController/public/*Customer Web แบบ public
CustomerBookingController/customer-bookings/*Customer booking ที่ต้องมี session/customer context
BookingController/bookings/*Backoffice
RefundController/refunds/*Backoffice refund
BookingPoliciesController/term-policies/booking/*Term & Policy for booking
ImageController/images/*Upload/signed URL