pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mybatis/envm/Deleted.java
@@ -1,10 +1,13 @@
package com.dy.common.mybatis.envm;
import com.baomidou.mybatisplus.annotation.EnumValue;
public enum Deleted  implements IEnum{
    YES((byte)1, "是"),
    NO((byte)0, "否");
    @EnumValue
    public Byte code ;
    public String name ;
@@ -13,6 +16,14 @@
        this.name = name ;
    }
    /**
     * 实际上转json,见Pojo的对应属性
     * @return json
     */
//    public String toString(){
//        return "{\"code\":" + this.code + "," + "\"name\":" + this.name + "}" ;
//    }
    @Override
    public Byte getCode() {
        return this.code ;