yanghb
2024-12-17 1287337fd0b0c156ec79712f9a600ebeffefe3a6
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
package com.zzg.common.enums;
 
import lombok.AllArgsConstructor;
import lombok.Getter;
 
@Getter
@AllArgsConstructor
public enum ApplyTypeEnum {
 
    TEMPORARY_RESIDENTIAL_SUBSIDY(1, "住宅临时安置补助费户详情"),
    BUSINESS_SHUTDOWN_SUBSIDY(2, "停产停业补助费请款"),
    ;
 
    public static String getTextByValue(Integer Value) {
        for (ApplyTypeEnum v : ApplyTypeEnum.values()) {
            if (v.getValue().equals(Value)) {
                return v.getText();
            }
        }
        return "";
    }
    
    private final Integer value;
 
    private final String text;
 
}