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

com.xinjump.easyexcel.example.enums.BooleanEnum Maven / Gradle / Ivy

There is a newer version: 1.1.1
Show newest version
package com.xinjump.easyexcel.example.enums;

import com.xinjump.easyexcel.enums.BaseEnum;

/**
 * @author xinjump
 * @version 1.1
 * @date 2020/12/25 15:49
 * @see com.xinjump.easyexcel.example.enums
 */
public enum BooleanEnum implements BaseEnum {

    VALID("1", "是"),
    NOT_VALID("0", "否");

    BooleanEnum(String key, String value) {
        this.key = key;
        this.value = value;
    }

    private String key;
    private String value;

    @Override
    public String getKey() {
        return this.key;
    }

    @Override
    public String getValue() {
        return this.value;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy