Skip to main content

BRD Alignment

อ้างอิง _docs/PrimeCarRent_BRD V.1.1 ฉบับ วันที่ 25 สิงหาคม 2568.docx

Project objective

BRD ระบุว่าระบบเป็น Web Application - Car Rent Booking System สำหรับให้ลูกค้าจองรถออนไลน์ มี Backoffice สำหรับจัดการรถ/โปรโมชั่น และเชื่อมต่อ CarPro พร้อม Payment Gateway

Objective ใน BRDImplementation area
เพิ่มขีดความสามารถระบบจองรถเช่าCustomer Web + Booking Service
รองรับ Guest Mode และ Member ModeCreatedBy ใน Booking, customer-bookings/member flow, public booking/guest flow
บริหารข้อมูลสินค้าและโปรโมชั่นผ่าน BackofficeCatalog Service + Backoffice Car/Promotion/Add-on/Branch/Fuel/OWR
เชื่อมต่อ CarPro เพื่อบริหาร stockCatalog search/pricing, CarPro sync jobs, booking sequence diagrams
Payment Gateway ออนไลน์Payment Service + Omise integration

Functional scope mapping

BRD ScopeCurrent system modules
Register/Login ผ่าน mobile/email OTP และ social loginccr-frontend-user/app/api/auth/*, Auth0 post-login, User Service customer lookup
Duplicate checking / account linkingUser Service social login/customer model; sequence docs มี merge-account flow
Profile Managementme/contact, Customer profile, My Profile backoffice
Rent Historycustomer-bookings, customers/{id}/booking-history, My Bookings
Home Page / Search รถCustomer Web home/search-result, Catalog public search
Stock Availability real-timeCatalog → CarPro price estimation/search
Booking SystemBooking create/edit/cancel, BookingInfo versioning
Promotion/CouponCatalog promotions + CarPro CDP validation/fallback
Add-on productAdd-on Management + add-on pricing rules
Payment GatewayPayment Service Omise charge/webhook/subscription
Backoffice/Admin Portalccr-frontend-backoffice modules
RBACUser Service Roles/Permissions + Backoffice menu config
Refund manual updateRefund Management + status workflow
Report moduleReport permission group exists; implementation status depends on report pages/API

Out-of-scope ที่ต้องระวัง

BRD ระบุว่า Auto Refund กรณียกเลิก booking ที่ชำระเงินแล้วอยู่นอก Phase 1 ดังนั้น flow ปัจจุบันที่สร้าง refund record และให้ Backoffice update เป็น manual workflow สอดคล้องกับ scope นี้

Assumptions / Dependencies

Dependencyหมายเหตุ
CarPro API specificationBRD ระบุว่าต้องได้รับ spec ที่ถูกต้องจาก Prime Car Rent
Coupon policyPrime Car Rent เป็นผู้กำหนด policy coupon
Cancellation policyPrime Car Rent เป็นผู้กำหนด cancellation policy
Payment gateway account/configPrime Car Rent รับผิดชอบ provider account/config/cost