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

com.github.fanzezhen.common.mp.enums.WorkingStatusEnum Maven / Gradle / Ivy

There is a newer version: 3.0.1-2023.10.13
Show newest version
package com.github.fanzezhen.common.mp.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @author zezhen.fan
 */
public enum WorkingStatusEnum {
    /**
     * 在职的
     */
    INCUMBENT(0, "在职的"),
    /**
     * 离职的
     */
    OUTGOING(1, "离职的");

    @EnumValue
    @JsonValue
    public final int code;
    @Getter
    private final String desc;

    WorkingStatusEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy