@Documented @Retention(value=RUNTIME) @Target(value=FIELD) public @interface EnumValue
支持普通枚举类字段, 只用在enum类的字段上 当实体类的属性是普通枚举,且是其中一个字段,使用该注解来标注枚举类里的那个属性对应字段
使用方式参考 com.baomidou.mybatisplus.test.h2.H2StudentMapperTest