/** * Copyright (c) 2018 人人开源 All rights reserved. * * https://www.renren.io * * 版权所有,侵权必究! */ package com.zt.modules.sys.enums; import com.zt.common.annotation.Dictionary; import com.zt.common.constant.IDictionary; /** * 参数值类型 * * @author hehz * @since 1.0.0 */ @Dictionary(type = "param_value_type", name = "参数值类型") public enum ParamValueType implements IDictionary { STRING(1, "字符串"), INT(2, "整型"), LONG(3, "长整型"), NUMBER(4, "小数"), BOOLEAN(5, "布尔值"); private Integer value; private String name; ParamValueType(int value, String name) { this.value = value; this.name = name; } @Override public Integer getValue() { return value; } @Override public String getName() { return name; } }