From 7e73e670d70e860bce6c216c23a75d366982c3c2 Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期二, 08 十月 2024 17:26:03 +0800
Subject: [PATCH] 修改bug

---
 ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/vo/ChargingGunCountVO.java |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/vo/ChargingGunCountVO.java b/ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/vo/ChargingGunCountVO.java
index a5e9f48..59479ca 100644
--- a/ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/vo/ChargingGunCountVO.java
+++ b/ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/vo/ChargingGunCountVO.java
@@ -9,9 +9,15 @@
 @ApiModel(value = "ChargingGunCountVO对象",description = "充电枪数量VO")
 public class ChargingGunCountVO extends Site {
 
-    @ApiModelProperty(value = "充电枪在线数量")
-    private Integer onlineCount;
+    @ApiModelProperty(value = "充电枪空闲数量")
+    private Integer freeCount;
     @ApiModelProperty(value = "充电枪总数数量")
     private Integer totalCount;
 
+    public ChargingGunCountVO(Integer freeCount, Integer totalCount) {
+        this.freeCount = freeCount;
+        this.totalCount = totalCount;
+    }
+    public ChargingGunCountVO() {
+    }
 }

--
Gitblit v1.7.1