DIRECTUS COLLECTION: corporate_services
- Type: Standard Collection
- Trang tương ứng: Trang Corporate Event (
/coporate-event) - Mục đích: Quản lý các gói dịch vụ dành cho Doanh nghiệp (Sự kiện Wellness 1 ngày, Retreat nhiều ngày cho các quy mô đoàn dưới/trên 20 khách).
1. Danh sách Fields (Trường dữ liệu)
| Field Name | Type | Interface | Description | i18n |
|---|---|---|---|---|
id | UUID | Primary Key | ID duy nhất | Không |
status | String | Select Dropdown | Trạng thái (published, draft) | Không |
sort | Integer | Sort | Thứ tự sắp xếp | Không |
service_type | String | Select Dropdown | Loaị hình: wellness_event_day (1 ngày) | wellness_retreat_multiday (Nhiều ngày) | Không |
pax_capacity | String | Select Dropdown | Quy mô đoàn: under_20_pax (Dưới 20 khách) | over_20_pax (Trên 20 khách) | Không |
featured_image | Many-to-One | Image | Hình ảnh minh họa gói dịch vụ | Không |
translations | Translations | Directus Translations | Bảng chứa tên gói & mô tả đa ngôn ngữ | Có |
2. Bảng Đa Ngôn Ngữ (corporate_services_translations)
| Field Name | Type | Interface | Description |
|---|---|---|---|
id | Integer / UUID | Primary Key | ID |
corporate_services_id | Foreign Key | Relational | Liên kết tới corporate_services.id |
languages_code | Foreign Key | Relational | Mã ngôn ngữ (en-US, vi-VN) |
title | String | Input | Tên gói dịch vụ (Ví dụ: Wellness Event 1 ngày - Đoàn dưới 20 khách) |
description | WYSIWYG | Editor | Mô tả chi tiết chương trình |
included_activities | JSON / WYSIWYG | List / Editor | Các hoạt động đi kèm (Sound Bath, Yoga, Meditation, Tea Ceremony,...) |
3. Liên Kết Dữ Liệu
- Dịch vụ được tham chiếu trong trang
corporate_event_page.