|  |  | 
 |  |  |     public String getHostName() { | 
 |  |  |         HostService service = SpringUtils.getBean(HostService.class); | 
 |  |  |         Host host = service.selectById(this.hostId); | 
 |  |  |         if (!Cools.isEmpty(host)){ | 
 |  |  |         if (!Cools.isEmpty(host)) { | 
 |  |  |             return host.getName(); | 
 |  |  |         } | 
 |  |  |         return null; | 
 |  |  | 
 |  |  |         return sex; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getSex$(){ | 
 |  |  |         if (null == this.sex){ return null; } | 
 |  |  |         switch (this.sex){ | 
 |  |  |     public String getSex$() { | 
 |  |  |         if (null == this.sex) { | 
 |  |  |             return null; | 
 |  |  |         } | 
 |  |  |         switch (this.sex) { | 
 |  |  |             case 0: | 
 |  |  |                 return "男"; | 
 |  |  |             case 1: | 
 |  |  | 
 |  |  |         return roleId; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getRoleName(){ | 
 |  |  |     public String getRoleName() { | 
 |  |  |         RoleService service = SpringUtils.getBean(RoleService.class); | 
 |  |  |         Role role = service.selectById(this.roleId); | 
 |  |  |         if (!Cools.isEmpty(role)){ | 
 |  |  |         if (!Cools.isEmpty(role)) { | 
 |  |  |             return role.getName(); | 
 |  |  |         } | 
 |  |  |         return null; | 
 |  |  | 
 |  |  |         return createTime; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getCreateTime$(){ | 
 |  |  |         if (Cools.isEmpty(this.createTime)){ | 
 |  |  |     public String getCreateTime$() { | 
 |  |  |         if (Cools.isEmpty(this.createTime)) { | 
 |  |  |             return ""; | 
 |  |  |         } | 
 |  |  |         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime); | 
 |  |  | 
 |  |  |         return status; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getStatus$(){ | 
 |  |  |         if (null == this.status){ return null; } | 
 |  |  |         switch (this.status){ | 
 |  |  |     public String getStatus$() { | 
 |  |  |         if (null == this.status) { | 
 |  |  |             return null; | 
 |  |  |         } | 
 |  |  |         switch (this.status) { | 
 |  |  |             case 1: | 
 |  |  |                 return "启用"; | 
 |  |  |             case 0: |