package com.product.integration.config;
|
|
import com.product.common.enums.IEnum;
|
import com.product.common.enums.ModuleEnum;
|
|
/**
|
* @Description: 集成返回码定义
|
*/
|
public enum IntegrationCode implements IEnum {
|
OPERATION_SUCCESS("成功", "200"),
|
;
|
private String text;
|
private String value;
|
|
private IntegrationCode(String text, String value) {
|
this.text = text;
|
this.value = value;
|
}
|
|
public String getText() {
|
return text;
|
}
|
|
public String getValue() {
|
return value;
|
}
|
|
@Override
|
public String toString() {
|
return value + ": " + text;
|
}
|
}
|