All Downloads are FREE. Search and download functionalities are using the official Maven repository.

top.remliyx.dbeasy.utils.enums.EnableFlagEnum Maven / Gradle / Ivy

There is a newer version: 2.0.0-RELEASE
Show newest version
package top.remliyx.dbeasy.utils.enums;

/**
 * 文件说明:
 * 创建作者: lyx
 * 创建日期: 2022-9-6
 * 版权所有:lyx
 * 版本:    Version 1.0
 */
public enum EnableFlagEnum {
    ENABLE("启用", 1),
    DISABLE("禁用", 0);

    private String name;
    private Integer value;

    private EnableFlagEnum(String name, Integer value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return this.name;
    }

    public Integer getValue() {
        return this.value;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy