1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| package com.ycl.jxkg.enums;
|
| import lombok.Getter;
|
| /**
| * websocket事件
| *
| * @author:xp
| * @date:2024/6/26 16:50
| */
| @Getter
| public enum WebsocketCommendEnum {
|
|
| DELAYED("delayed", "延长考试时间"),
| FORCE_SUBMIT("forceSubmit", "强制提交"),
| RECORD_STUDY_TIME("recordStudyTime", "记录学习时间"),
| ;
|
| private final String command;
|
| private final String desc;
|
| WebsocketCommendEnum(String command, String desc) {
| this.command = command;
| this.desc = desc;
| }
| }
|
|