ความคืบหน้างาน ไฟล์ต้นฉบับ

03 — Modules / Subsystems

There are two sources, and they do not split the system the same way:

SourceDateGranularityStatus
BA draw.io source (TNSU_EDU 191069.drawio in the repo root, received 2026-10-30; rendered in ba-drawio.md)2026-10-307 pages: module overview, university and school sub-modules (23 modules, ~80 functions), organisation structure, curriculum list, 2 process flowsPrimary. Collected by the BA from the client, so it is the closest thing to requirements we have. Replaces the earlier image assets/ba-module-structure.png; the module lists in both are identical
Proposal §4.1 / §6.1 (TNSU-01…12)27-10-202612 subsystems, functional/channel splitSecondary. A sales-level view that includes channels and cross-cutting services the BA chart does not list

Rule: for "what functions exist", use the BA structure. For channels (apps, portal), finance, e-document, AI and integration, the proposal is the only source, and those areas are still open (see §C below and 11-open-questions-and-known-issues.md).

See also 12-use-cases.md. The team's use cases use a third, more detailed taxonomy (35 modules such as ADM, REG, FIN, SCH = scholarships, ATH, SAFE), with a mapping to the codes below. For behaviour (who does what, in which order), the use cases are the primary source.

A. BA module structure (primary)

The draw.io file has two module pages, Sub Module-วิทยาลัย and Sub Module-โรงเรียน, plus an overview page module whose root is "ระบบการจัดการบริหารการศึกษา" and shows only the 8 university modules. (The earlier image combined both branches under "ระบบบริหารข้อมูลภาพรวมทุกหน่วยงานภายใต้ TNSU".) The two branches:

  • UNI: ระบบบริหารการศึกษาระดับมหาวิทยาลัย (university level, 17 campuses), 8 modules
  • SS: ระบบบริหารโรงเรียนกีฬาและนักเรียนประจำ (sports and boarding schools, 13 schools), 15 modules
The codes UNI-xx and SS-xx (and sub-codes like UNI-04.6) are our convention for referencing these modules in docs, tickets and code. They are not on the BA chart. The chart numbers each branch from 1.
In the source file, UNI 1–6 are green (#d5e8d4) while UNI 7–8 and all SS modules are pink (#f8cecc). The file has no legend, so the meaning is still [unknown] (e.g. agreed vs. draft, or phase). Ask the BA.

UNI — University level

CodeModuleFunctions
UNI-01ระบบงานควบคุม (control / system settings)1.1 จัดการค่าธรรมเนียมการศึกษา: fee types, fee rates (Fee Rate) · 1.2 ปีการศึกษา/ภาคเรียน (academic years and semesters) · 1.3 User Permission
UNI-02การรับเข้าเป็นนักศึกษา (admission)2.1 รับสมัครนักศึกษา (applications) · 2.2 รับเข้าและยืนยันสิทธิ์ (admit and confirm)
UNI-03งานทะเบียน (registrar)3.1 จัดการข้อมูลนักศึกษา (student records) · 3.2 จัดการสถานะนักศึกษา (student status) · 3.3 คำร้องนักศึกษา (student requests)
UNI-04งานวิชาการและหลักสูตร (academics and curriculum)4.1 ข้อมูลพื้นฐาน: education levels, faculties, majors · 4.2 จัดการหลักสูตร (curricula) · 4.3 จัดการโครงสร้างหลักสูตร (curriculum structure) · 4.4 จัดการรายวิชา (courses) · 4.5 จัดกลุ่มรายวิชาในหลักสูตร (course groups) · 4.6 จัดการวิชาบังคับก่อน (prerequisites) · 4.7 จัดทำแผนการเรียน (study plans) · 4.8 จัดการเปิดรายวิชา (course offerings) · 4.9 จัดการอาจารย์ผู้สอน (instructors)
UNI-05การลงทะเบียนเรียน (course registration)5.1 จัดการรอบ/ช่วงเวลาลงทะเบียน (registration rounds and windows) · 5.2 จัดการเปิดรายวิชาลงทะเบียน (open sections) · 5.3 จัดตารางเรียนและตารางสอบ (class and exam timetables) · 5.4 ลงทะเบียนเรียน (register) · 5.5 เพิ่ม/ถอน/เปลี่ยนกลุ่มเรียน (add, drop, change section) · 5.6 จัดการอนุมัติการลงทะเบียน (registration approval)
UNI-06การวัดและประเมินผลการศึกษา (assessment and grading)6.1 ตั้งค่าการประเมินผล: assessment types, result formats, grading schemes · 6.2 กำหนดเกณฑ์การประเมินรายวิชา (per-course assessment criteria) · 6.3 กำหนดเกณฑ์ตัดเกรดรายวิชา (per-course grade cut-offs) · 6.4 บันทึกและประมวลผลคะแนน (score entry and processing) · 6.5 ตรวจสอบและอนุมัติผลการเรียน (review and approve grades) · 6.6 ประกาศผลการเรียนและคำนวณ GPA/GPAX (publish grades, GPA/GPAX) · 6.7 จัดการคำร้องแก้ไขผลการเรียน (grade-correction requests) · 6.8 ตรวจสอบสำเร็จการศึกษา (graduation audit)
UNI-07การวัดและประเมินผลอาจารย์ผู้สอน (instructor evaluation)7.1 จัดการแบบประเมินอาจารย์ (evaluation forms) · 7.2 กำหนดรอบการประเมิน (evaluation rounds) · 7.3 กำหนดรายวิชาที่ประเมิน (courses to evaluate) · 7.4 ประเมินอาจารย์ผู้สอนและประมวลผล (run the evaluation and process results)
UNI-08ระบบด้านการจัดการศิษย์เก่า (alumni)8.1 จัดการข้อมูลศิษย์เก่า (alumni records) · 8.2 ลงทะเบียนและปรับปรุงข้อมูลศิษย์เก่า (alumni self-registration and updates) · 8.3 สำรวจและติดตามข้อมูลศิษย์เก่า (alumni surveys and tracking)

SS — Sports schools and boarding students

CodeModuleFunctions
SS-01ระบบรับสมัครและคัดเลือกนักเรียน (admission and selection)1.1 จัดการรอบรับสมัครและเกณฑ์การคัดเลือก (rounds and selection criteria) · 1.2 รับสมัครและตรวจสอบใบสมัคร (receive and verify applications) · 1.3 จัดการสอบและบันทึกผลการคัดเลือก (selection exams and results; for a sports school this probably includes sports-skill tests [inferred]) · 1.4 ประกาศผลและรายงานตัวนักเรียน (announce results, student reporting-in / มอบตัว)
SS-02ระบบทะเบียนและประวัตินักเรียน (student registry)2.1 จัดการทะเบียนและประวัตินักเรียน (records and history) · 2.2 จัดการข้อมูลผู้ปกครอง (parents/guardians) · 2.3 จัดการสถานภาพและการย้ายสถานศึกษา (status, transfers) · 2.4 จัดการเลื่อนชั้นและสำเร็จการศึกษา (grade promotion, graduation)
SS-03ระบบบริหารหลักสูตรและการเรียนการสอน (curriculum and teaching)3.1 จัดการหลักสูตรและรายวิชา (curriculum and subjects) · 3.2 จัดการชั้นเรียนและครูผู้สอน (classes/homerooms and teachers) · 3.3 จัดการตารางเรียนและตารางสอบ (timetables) · 3.4 จัดการแผนการสอน (lesson plans)
SS-04ระบบวัดผลและประเมินผลการเรียน (assessment)4.1 กำหนดเกณฑ์และรายการประเมิน (criteria and assessment items) · 4.2 บันทึกคะแนนและประมวลผลการเรียน (scores and results) · 4.3 ตรวจสอบและอนุมัติผลการเรียน (approve) · 4.4 จัดทำเอกสารและรายงานผลการเรียน (transcripts and report cards; probably the ปพ. forms [inferred])
SS-05ระบบบริหารจัดการหอพักนักเรียน (dormitory)5.1 จัดการอาคาร ห้องพัก และเตียง (buildings, rooms, beds) · 5.2 จัดสรรและย้ายห้องพักนักเรียน (allocate and move) · 5.3 จัดการครูเวรและตรวจหอพัก (duty-teacher roster, dorm inspections) · 5.4 ติดตามสถานะการเข้าพักและแจ้งซ่อม (occupancy status, maintenance requests)
SS-06ระบบเช็กชื่อและติดตามนักเรียน (roll call and tracking)6.1 ตั้งค่ารอบและประเภทการเช็กชื่อ (roll-call rounds and types, e.g. class, dorm, training, meals [inferred]) · 6.2 บันทึกการเช็กชื่อนักเรียน (record roll call) · 6.3 ติดตามการขาด ลา มาสาย และนักเรียนไม่พบตัว (absent, on leave, late, student not found / missing)
SS-07ระบบการลาและการขออนุญาตออกนอกโรงเรียน (leave and off-campus permission)7.1 ยื่นคำร้องขอลาและออกนอกโรงเรียน (submit) · 7.2 พิจารณาและอนุมัติคำร้อง (approve) · 7.3 บันทึกการออกและกลับเข้าโรงเรียน (exit and return log) · 7.4 ติดตามสถานะและประวัติการลา (status and history)
SS-08ระบบโภชนาการและอาหารนักเรียน (nutrition and meals)8.1 จัดการเมนูและแผนอาหาร (menus and meal plans) · 8.2 จัดการข้อมูลโภชนาการและข้อจำกัดด้านอาหาร (nutrition data, dietary restrictions and allergies) · 8.3 บันทึกการรับประทานอาหาร (meal attendance log) · 8.4\* จัดการวัตถุดิบและต้นทุนอาหาร (ingredients and food cost)
SS-09ระบบสุขภาพและสวัสดิการนักเรียน (health and welfare)9.1 จัดการข้อมูลสุขภาพนักเรียน (health records) · 9.2 บันทึกการเจ็บป่วยและการรักษา (illness and treatment) · 9.3 ติดตามการบาดเจ็บและการฟื้นฟู (sports injuries and rehabilitation) · 9.4 จัดการสวัสดิการและเหตุฉุกเฉิน (welfare and emergencies)
SS-10ระบบบริหารการฝึกซ้อมกีฬา (training)10.1 จัดการชนิดกีฬา ทีม และผู้ฝึกสอน (sports, teams, coaches) · 10.2 จัดการแผนและตารางฝึกซ้อม (training plans and schedule) · 10.3 บันทึกและติดตามผลการฝึกซ้อม (training results)
SS-11ระบบบริหารการแข่งขันและผลงานนักกีฬา (competitions and achievements)11.1 จัดการรายการแข่งขันและผู้เข้าร่วม (events and entrants) · 11.2 จัดการเดินทางและเอกสารการแข่งขัน (travel and competition documents) · 11.3 บันทึกผลการแข่งขันและรางวัล (results and awards) · 11.4 ติดตามประวัติและผลงานนักกีฬา (athlete track record)
SS-12ระบบประเมินสมรรถภาพและพัฒนาศักยภาพนักกีฬา (fitness testing and athlete development)12.1 จัดการเกณฑ์และรอบการทดสอบ (test criteria and rounds) · 12.2 บันทึกผลทดสอบสมรรถภาพและทักษะกีฬา (fitness and skill test results) · 12.3 ติดตามพัฒนาการและแผนพัฒนานักกีฬา (progress and development plans)
SS-13ระบบกิจการนักเรียนและระเบียบวินัย (student affairs and discipline)13.1 จัดการพฤติกรรมและระเบียบวินัย (behaviour and discipline, probably conduct points [inferred]) · 13.2 จัดการกิจกรรมและการเข้าร่วม (activities and participation) · 13.3 บันทึกการให้คำปรึกษาและติดตามนักเรียน (counselling records and follow-up)
SS-14ระบบสื่อสารและบริการผู้ปกครอง (parent communication and services)14.1 ข้อมูลนักเรียนในความดูแล (children under care) · 14.2 ติดตามผลการเรียนและการเข้าเรียน (grades and attendance) · 14.3 ยืนยันคำร้องและติดตามการลา (parent confirms requests, tracks leave) · 14.4\* ข่าวสารและการแจ้งเตือน (news and notifications)
SS-15ระบบรายงานและสารสนเทศสำหรับผู้บริหาร (executive reporting)15.1 Dashboard ภาพรวมส่วนกลางและรายโรงเรียน (overview across central office and per school) · 15.2 รายงานด้านการศึกษาและนักเรียน (education and students) · 15.3 รายงานด้านหอพักและกิจการนักเรียน (dorms and student affairs) · 15.4\* รายงานด้านกีฬาและสมรรถภาพนักกีฬา (sports and fitness)

\* On the chart these are numbered 8.3, 14.3 and 15.3 a second time (duplicate numbers). We renumbered them to .4 here.

Observations about the BA structure

  • Asymmetry between the branches. Sports, dorm, health, nutrition, roll call, leave and discipline exist only under SS. Fees, instructor evaluation and alumni exist only under UNI. The proposal implies both levels share athletes, dorm, finance and the executive dashboard. Whether this asymmetry is intended is [unknown].
  • Shared concepts implemented twice. Admission, registry, curriculum, timetable and assessment appear in both branches with different depth (UNI has prerequisites, study plans, registration rounds and GPAX; SS has homerooms, lesson plans and promotion). Design implication [inferred]: shared core entities (person, org unit, academic year/term, course, timetable, assessment) with level-specific rules, rather than two separate systems.
  • System-level settings live inside UNI-01 (fees, academic year, user permissions). They probably need to be central for both branches [inferred].
  • Requests appear as UNI-03.3 (student requests), UNI-06.7 (grade correction), SS-07 (leave/exit) and SS-14.3 (parent confirmation). A generic request/approval engine fits [inferred].

A2. Organisation structure (BA draw.io page "โครงสร้างหน่วยงานของระบบ")

flowchart TD
  U[มหาวิทยาลัยการกีฬาแห่งชาติ] --> C[วิทยาเขต 1…17]
  U --> S[โรงเรียน 1…13]
  C --> F[คณะ]
  F --> M[สาขา]
  M --> P[หลักสูตร]
  S --> G[ระดับชั้น]
  G --> T[ชนิดกีฬา]
  • University branch: campus → faculty → major (สาขา) → curriculum (หลักสูตร). Faculties hang under each campus.
  • Sports-school branch: school → grade level (ระดับชั้น) → sport type (ชนิดกีฬา). Sport type sits under the grade level, so a school's students are organised by grade and then by sport.
  • This is the org-unit tree for data scoping and permissions (see 13-role-matrix.md).

A3. Curriculum list (BA draw.io page "หลักสูตร")

The real programmes, grouped by degree and faculty. Three faculties offer programmes.

DegreeFacultyProgramme
ปริญญาตรีคณะวิทยาศาสตร์การกีฬาและสุขภาพวท.บ. สาขาวิชาวิทยาศาสตร์การกีฬาและการออกกำลังกาย (ปรับปรุง พ.ศ. 2568)
ปริญญาตรีคณะศิลปศาสตร์ศศ.บ. สาขาวิชาการจัดการการกีฬา (ปรับปรุง พ.ศ. 2568)
ปริญญาตรีคณะศิลปศาสตร์ศศ.บ. สาขาวิชาการท่องเที่ยวและนันทนาการ (ปรับปรุง พ.ศ. 2568)
ปริญญาตรีคณะศึกษาศาสตร์ศษ.บ. สาขาวิชาพลศึกษา (4 ปี) (ปรับปรุง พ.ศ. 2568)
ปริญญาตรีคณะศึกษาศาสตร์ศษ.บ. สาขาวิชาพลศึกษาและสุขศึกษา (4 ปี) (ปรับปรุง พ.ศ. 2568)
ปริญญาโทคณะศิลปศาสตร์บธ.ม. สาขาวิชาการจัดการการกีฬา การท่องเที่ยวและนันทนาการ
ปริญญาโทคณะศึกษาศาสตร์ศษ.ม. สาขาวิชาพลศึกษาและกีฬา (M.Ed. Physical Education and Sports)
ปริญญาเอกคณะศิลปศาสตร์บธ.ด. สาขาวิชาการจัดการการกีฬา การท่องเที่ยวและนันทนาการ (D.B.A. Tourism and Recreation Management)
ปริญญาเอกคณะศึกษาศาสตร์ปร.ด. สาขาวิชาพลศึกษาและกีฬา (Ph.D. Physical Education and Sports)
  • 9 programmes in total: 5 bachelor's, 2 master's, 2 doctoral. The diagram lists the English and Thai names of the same graduate programme as two lines; they are paired here [inferred].
  • Graduate programmes exist, so the use-case module GRAD (ป.โท/ป.เอก) is real scope.
  • The faculties in the proposal's mockups (บริหารธุรกิจ, สหเวชศาสตร์) were sample data and are not in this list.
  • Not stated: which campuses offer which programmes, and whether some programmes are also offered with a different curriculum year.

A4. BA process flows

The draw.io file has two flows; they are written out in 05-workflows.md (§15 and §16) and rendered in ba-drawio.md.

B. Mapping: proposal subsystems ↔ BA modules

Proposal codeSubsystemBA modulesCoverage in BA
TNSU-01University Education ManagementUNI-02, 03, 04, 05, 06, 08✅ detailed
TNSU-02Sports School ManagementSS-01, 02, 03, 04, 06, 07, 13✅ detailed
TNSU-03Sports & Athlete ManagementSS-10, 11, 12⚠️ school only. University athletes are missing
TNSU-04Boarding & Student WelfareSS-05, 08, 09⚠️ school only
TNSU-05Financial & Scholarship ManagementUNI-01.1 (fee types and rates only)❌ no payments, receipts, reconciliation, กยศ. or scholarships. Nothing for schools
TNSU-06Student Mobile Application—❌ channel; not in BA chart
TNSU-07Parent Mobile ApplicationSS-14 (functions)⚠️ functions for school parents only
TNSU-08Student Web Portal—❌ channel; not in BA chart
TNSU-09Staff Backoffice & e-DocumentImplicit (all backoffice functions)❌ no e-document, e-signature or DGA
TNSU-10Executive Dashboard & AISS-15⚠️ school reporting only; no university dashboard; no AI analytics or bot
TNSU-11Central AdministrationUNI-01 (academic year, permissions)⚠️ thin: no org-unit master data, audit log or central user management
TNSU-12Integration Services—❌ not in BA chart
(none)Instructor evaluationUNI-07➕ new in BA
(none)Roll call / missing-student trackingSS-06➕ new in BA
(none)Discipline and counsellingSS-13➕ more specific than proposal
(none)Food cost and ingredientsSS-08.4➕ new in BA
(none)Dorm maintenance requests and duty teachersSS-05.3, 05.4➕ new in BA

Proposal §6.1 (delivery-scope list) → proposal codes: 1→TNSU-10, 2→TNSU-11, 3→admission in TNSU-01/02, 4→rest of TNSU-01/02, 5→TNSU-03, 6→TNSU-04, 7→TNSU-05, 8→TNSU-06/07/08, 9 and 10→TNSU-09, 11→notifications and AI bot, 12→TNSU-12 plus security.

C. Open scope gaps (to confirm with BA and client)

  1. Finance at both levels: payment gateway, receipts, กยศ., scholarships. These are in the proposal but missing from the BA chart.
  2. e-Document, e-Signature and DGA.
  3. AI analytics and AI bot.
  4. Student mobile app and student web portal, and which BA functions they expose.
  5. University-level executive dashboard (SS-15 covers schools only, but the mockups show a university-wide dashboard).
  6. Athletes, dorms and health for university students.
  7. ~~Integration with legacy E-Education~~: not needed. There is no legacy system (confirmed 2026-10-30).
  8. Central administration: org units (17 + 13), audit log, cross-unit roles.
  9. Meaning of the green/pink colours on the chart.