parent
d9f73af378
commit
09c6085fef
5 changed files with 73 additions and 26 deletions
@ -0,0 +1,32 @@ |
|||||||
|
package org.springblade.desk.device.pojo.vo; |
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema; |
||||||
|
import lombok.Data; |
||||||
|
import lombok.EqualsAndHashCode; |
||||||
|
import org.springblade.desk.device.pojo.entity.EquipmentEntity; |
||||||
|
|
||||||
|
/** |
||||||
|
* 设备状态统计 视图实体类 |
||||||
|
* |
||||||
|
* @author qyl |
||||||
|
* @since 2025-12-30 |
||||||
|
*/ |
||||||
|
@Data |
||||||
|
@Schema(description = "设备状态统计结果") |
||||||
|
public class EquipmentStatusStatisticsVO { |
||||||
|
// 设备总数
|
||||||
|
@Schema(description = "设备总数") |
||||||
|
private Integer totalCount; |
||||||
|
|
||||||
|
// 运行中的设备数量
|
||||||
|
@Schema(description = "运行中的设备数量") |
||||||
|
private Integer runningCount; |
||||||
|
|
||||||
|
// 停机设备数量
|
||||||
|
@Schema(description = "停机设备数量") |
||||||
|
private Integer stoppedCount; |
||||||
|
|
||||||
|
// 故障设备数量
|
||||||
|
@Schema(description = "故障设备数量") |
||||||
|
private Integer faultCount; |
||||||
|
} |
||||||
Loading…
Reference in new issue