You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
453 B
35 lines
453 B
1 month ago
|
@startuml
|
||
|
|
||
|
' 定义实体类
|
||
|
class Student {
|
||
|
+Long id
|
||
|
+String studentNumber
|
||
|
+String name
|
||
|
+BigDecimal points
|
||
|
}
|
||
|
|
||
|
class Teacher {
|
||
|
+Long id
|
||
|
+String username
|
||
|
+String password
|
||
|
}
|
||
|
|
||
|
class RollCallSettings {
|
||
|
+String rollCallMode
|
||
|
+String triggerRandomEvent
|
||
|
+String wheelOfFortune
|
||
|
}
|
||
|
|
||
|
class RollCallResponse {
|
||
|
+String studentId
|
||
|
+String name
|
||
|
+BigDecimal points
|
||
|
+String message
|
||
|
}
|
||
|
|
||
|
class PointsRequest {
|
||
|
+BigDecimal pointsDelta
|
||
|
}
|
||
|
|
||
|
@enduml
|