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 enumeration;
|
| import lombok.Getter;
|
| /**
| * 设备厂商
| *
| * @author:xp
| * @date:2024/8/26 19:37
| */
| @Getter
| public enum DeviceType {
|
| HK(0, "海康"),
| DH(1, "大华"),
| YS(2, "宇视"),
| ;
|
| private final Integer type;
|
| private final String desc;
|
|
| DeviceType(Integer type, String desc) {
| this.type = type;
| this.desc = desc;
| }
| }
|
|