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;
|
|
}
|