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
| package com.zy.asrs.enums;
|
| /**
| * @author Ryan
| * @date 2025/9/25
| * @description: 通用类型枚举
| * @version 1.0
| */
| public enum CommonEnum {
|
| //通用类型
| COMMON_ENUM_Y(0, "否"),
| //通用
| COMMON_ENUM_N(1, "是");
|
| public Integer type;
|
| public String desc;
|
| CommonEnum(Integer type, String desc) {
| this.type = type;
| this.desc = desc;
| }
|
| }
|
|