Skip to content
ewqdsacxz edited this page Oct 21, 2018 · 7 revisions

API มี 3 Services

1.UserService มีหน้าที่รับผิดชอบฟังก์ชั่นเกี่ยวกับ User ทั้งหมดเช่น CRUD รวมถึงระบบ authentication ด้วย

2.StudentService เก็บข้อมูลของนักศึกษาเเละฟังก์ชั่นของนักศึกษา

3.CourseService มีหน้าที่รับผิดชอบ คอร์สของนักเรียนทั้งหมด รวมถึงระบบลงทะเบียน course แยกกับระบบนักเรียนอย่างชัดเจน

Patric's ServiceDiagram

classesUssage

1.UserService

User อาจจะเป็นนักเรียนหรือผู้ดูแลหรือ อื่นๆ

Student นักเรียน Returen สำหรับการ Authen ผ่าน UserService

2.StudentService

Student นักเรียน

3.CourseService

Student นักเรียน Course คอร์สเรียน

ClassDiagram

Patric's ClassDiagram

Course

Attribute Type Examples
id int "1"
courceId string "INT491"
CourseName string "Cloud-native application development"
leaturer string "MR.Patric Emmel"
capacity int 30
registed StudentList [Student,Student,...,]

User

Attribute Type Examples
username long 59130500060
password string "06000503195"

Student

Attribute Type Examples
student long 59130500060
name string "Patric"
surname string "Emmel"
department string "IT"
facuty string "SIT"
year int 3
Clone this wiki locally