| | |
| | | import lombok.EqualsAndHashCode; |
| | | import org.sxkj.system.cache.SysCache; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 设备表 视图实体类 |
| | | * |
| | |
| | | */ |
| | | @Data |
| | | @Getter |
| | | public class FwDeviceVO { |
| | | public class FwDeviceVO implements Serializable { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @ApiModelProperty(value = "主键") |
| | |
| | | @ApiModelProperty("运行状态(0:在线/1:离线/2:故障/3:报废)") |
| | | private Integer status; |
| | | |
| | | @ApiModelProperty("创建时间") |
| | | private Date createTime; |
| | | |
| | | @ApiModelProperty(value = "所属部门名称") |
| | | public String getBelongDeptName() { |
| | | if (belongDept == null) { |
| | | return null; |
| | | } |
| | | System.out.println("12312312312:" + SysCache.getDeptName(belongDept)); |
| | | return SysCache.getDeptName(belongDept); |
| | | } |
| | | |