package cn.axzo.msg.center.service.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author yanglin
 */
@Getter
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public enum YesOrNo implements CodeDefinition<String> {
    YES("YES", "是"),
    NO("NO", "是")
    ;

    @EnumValue
    private final String code;
    private final String desc;

}
