|  |  | 
 |  |  | import com.baomidou.mybatisplus.annotations.TableId; | 
 |  |  | import com.baomidou.mybatisplus.annotations.TableName; | 
 |  |  | import com.baomidou.mybatisplus.enums.IdType; | 
 |  |  | import com.zy.system.service.ResourceService; | 
 |  |  | import com.core.common.Cools; | 
 |  |  | import com.core.common.SpringUtils; | 
 |  |  | import com.zy.system.service.ResourceService; | 
 |  |  |  | 
 |  |  | import java.io.Serializable; | 
 |  |  |  | 
 |  |  | 
 |  |  |      */ | 
 |  |  |     private Short status; | 
 |  |  |  | 
 |  |  |     public Resource() {} | 
 |  |  |     public Resource() { | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public Resource(String code,String name,Long resourceId,Short level,Integer sort,Short status) { | 
 |  |  |         this.code = code; | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getLevel$(){ | 
 |  |  |         if (null == this.level){ return null; } | 
 |  |  |         if (null == this.level) { | 
 |  |  |             return null; | 
 |  |  |         } | 
 |  |  |         switch (this.level){ | 
 |  |  |             case 1: | 
 |  |  |                 return "一级菜单"; | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getStatus$(){ | 
 |  |  |         if (null == this.status){ return null; } | 
 |  |  |         if (null == this.status) { | 
 |  |  |             return null; | 
 |  |  |         } | 
 |  |  |         switch (this.status){ | 
 |  |  |             case 1: | 
 |  |  |                 return "正常"; |