Phạm vi tài liệu
Wiki cố ý tập trung vào các domain trọng tâm: Subscription, Booking, Finance, Payment, Master Data, Staff, Incident Management, Communication, Platform (+ Nền tảng dùng chung). Hệ thống AIMY thực tế lớn hơn nhiều. Trang này nói rõ cái gì có và cái gì chưa để bạn không hiểu nhầm.
✅ Trong phạm vi
| Domain | Bao phủ |
|---|---|
| Platform | EntityEvent flow, notification platform (event-driven + direct), entity history, run-history & observability. |
| Communication | Pipeline gửi, campaign, UserMessage, OutgoingMessage, template, automation/reminders, report subscription. |
| Subscription | Subscription/Enrollment, billing schedule, invoice schedule/approve/skip, add-on/discount, booking subscription. |
| Booking | Normal booking (TermBookingOrder/TermBooking) lifecycle, discount rule, combine booking rule, double-booking guard, measurement, cancel/attendance. |
| Finance | Billing, invoice, credit note, finance transaction projection, invoice manager, preview billing diff, Xero/accounting sync, subsidy overview. |
| Payment | Payment method settings, PayLater, PayNow/Windcave, Direct Debit/Kiwi, Deposit, checkout success/result. |
| Master Data | Enterprise/BU/Org/Site, Account/Account Holder, Attendee, Program/Term/TPS/Product, profile/system images. |
| Staff | Roster weekly planner, leave, timetable, availability, profile, staff home. |
| Incident Management | Incident/Accident/Illness lifecycle, affected attendees, generated PDF, send-to-customer, acknowledgement/signature, audit/history. |
| Nền tảng | Topi/Tuke/Tux, DB & lưu trữ, domain model/aggregates, timezone, quy ước & nguyên tắc. |
⛔ Ngoài phạm vi (nhưng có giao thoa)
Các cụm dưới đây chưa được viết thành domain riêng. Chúng giao thoa với domain chính nhưng chưa đủ trọng tâm cho lượt tài liệu này:
| Cụm | Giao thoa ở đâu |
|---|---|
| Customer Portal / My Home | Trải nghiệm phụ huynh (xem booking, subscription của mình); được nhắc rải rác trong Subscription/Booking. |
| Dashboard / Telemetry | Thống kê & phân tích vận hành; chưa có domain riêng. |
| Payroll / timesheet | Giao thoa Finance ↔ Staff; wiki chỉ ghi overview, chưa đi sâu payroll. |
Timezone/DateTime là vấn đề cross-cutting → đã tóm tắt riêng ở Nền tảng → Timezone.
Nếu một cụm ngoài phạm vi trở nên quan trọng, bổ sung vào wiki theo cùng khuôn mẫu domain hiện tại: Tổng quan → Khái niệm → Kiến trúc → Dữ liệu → Case.