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
29
30
31
32
33
34
35
| package com.qianwen.smartman.modules.mdc.enums;
|
| import java.util.stream.Stream;
|
| /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/enums/FeedbackDetailStatus.class */
| public enum FeedbackDetailStatus {
| DELETE("作废", 2),
| WAIT_EFFECT("待生效", 0),
| EFFECTED("已生效", 1);
|
| private final String name;
| private final int value;
|
| FeedbackDetailStatus(String name, int value) {
| this.name = name;
| this.value = value;
| }
|
| public int getValue() {
| return this.value;
| }
|
| public String getName() {
| return this.name;
| }
|
| public FeedbackDetailStatus of(final Integer value) {
| if (value == null) {
| return null;
| }
| return (FeedbackDetailStatus) Stream.of((Object[]) values()).filter(item -> {
| return item.getValue() == value.intValue();
| }).findFirst().orElse(null);
| }
| }
|
|