package com.ruoyi.common.core.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Description: 是和否枚举
 * @Author: wenhao
 * @Create: 2025/03/01 14:16
 * @Version: 1.0
 */
@Getter
@AllArgsConstructor
public enum YesOrNoEnum implements BaseValidEnum<String> {
    /**
     * 是
     */
    YES("1", "是"),
    /**
     * 否
     */
    NO("0", "否");

    private final String code;

    private final String desc;

}
