1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| package com.qianwen.smartman.modules.notify.enums;
|
| import com.baomidou.mybatisplus.annotation.EnumValue;
|
|
| public enum SubscribeState {
| enabled("订阅中"),
| disabled("已停止");
|
| @EnumValue
| private final String text;
|
| SubscribeState(final String text) {
| this.text = text;
| }
|
| public String getText() {
| return this.text;
| }
| }
|
|