Skip to main content

DIRECTUS COLLECTION: courses

  • Type: Standard Collection
  • Trang tương ứng: Trang Our Training (/our-training) & Home Page (/)
  • Mục đích: Quản lý danh mục các Khóa đào tạo (Sound Healing Therapist, Yin Yoga Teacher, Yoga TTC 200H/300H/500H).

1. Danh sách Fields (Trường dữ liệu)​

Field NameTypeInterfaceDescriptioni18n
idUUIDPrimary KeyID duy nhấtKhông
statusStringSelect DropdownTrạng thái (published, draft)Không
sortIntegerSortThứ tự sắp xếpKhông
categoryStringSelect DropdownPhân loại khóa: sound_healing_yin | yoga_ttcKhông
course_levelStringSelect DropdownCấp độ: 200H, 300H, 500H, therapistKhông
cover_imageMany-to-OneImageẢnh đại diện khóa họcKhông
external_linkStringInputLink dẫn về bài viết đầy đủ (Ví dụ: https://yata-yoga.com/khoa-dao-tao-hlv-yoga-quoc-te-200h/)Không
translationsTranslationsDirectus TranslationsBảng chứa nội dung khóa học đa ngôn ngữCó

2. Bảng Đa Ngôn Ngữ (courses_translations)​

Field NameTypeInterfaceDescription
idInteger / UUIDPrimary KeyID
courses_idForeign KeyRelationalLiên kết tới courses.id
languages_codeForeign KeyRelationalMã ngôn ngữ (en-US, vi-VN)
titleStringInputTên khóa học (Sound Healing Therapist and Yin Yoga Teacher, Khóa Yoga TTC 200H)
slugStringInputURL Slug
short_descriptionTextText AreaTóm tắt chương trình học
full_contentWYSIWYGEditorKhung chương trình chi tiết
target_audienceTextText AreaĐối tượng phù hợp tham gia khóa học

3. Liên Kết Dữ Liệu​

  • Khi người dùng gửi yêu cầu tư vấn khóa học qua lead_consultations, thông tin khóa học sẽ được lưu liên kết tới courses.id.