From 06a0fc046c3717da1babd8fa64e92b51a6c34c41 Mon Sep 17 00:00:00 2001
From: luodangjia <luodangjia>
Date: 星期四, 22 八月 2024 09:43:16 +0800
Subject: [PATCH] 8.22

---
 ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/model/TChargingGun.java |   30 +++++++++++++++++-------------
 1 files changed, 17 insertions(+), 13 deletions(-)

diff --git a/ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/model/TChargingGun.java b/ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/model/TChargingGun.java
index 3846d8f..2bef523 100644
--- a/ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/model/TChargingGun.java
+++ b/ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/model/TChargingGun.java
@@ -35,35 +35,35 @@
     @TableId(value = "id", type = IdType.AUTO)
     private Integer id;
 
-    @ApiModelProperty(value = "充电枪编号")
+    @ApiModelProperty(value = "充电枪编号", required = true)
     @TableField("code")
     private String code;
 
-    @ApiModelProperty(value = "站点id")
+    @ApiModelProperty(value = "站点id", required = true)
     @TableField("site_id")
     private Integer siteId;
 
-    @ApiModelProperty(value = "合作商id")
+    @ApiModelProperty(value = "合作商id", required = true)
     @TableField("partner_id")
     private Integer partnerId;
 
-    @ApiModelProperty(value = "充电桩id")
+    @ApiModelProperty(value = "充电桩id", required = true)
     @TableField("charging_pile_id")
     private Integer chargingPileId;
 
-    @ApiModelProperty(value = "充电枪名称")
+    @ApiModelProperty(value = "充电枪名称", required = true)
     @TableField("name")
     private String name;
 
-    @ApiModelProperty(value = "充电枪类型(0=其他,1=家用插座(模式2),2=交流接口插座(模式3,连接方式B),3=交流接口插头(带枪线,模式3,连接方式C)4=直流接口枪头(带枪线,模式4)5=无线充电座)")
+    @ApiModelProperty(value = "充电枪类型(0=其他,1=家用插座(模式2),2=交流接口插座(模式3,连接方式B),3=交流接口插头(带枪线,模式3,连接方式C)4=直流接口枪头(带枪线,模式4)5=无线充电座)", required = true)
     @TableField("type")
     private Integer type;
 
-    @ApiModelProperty(value = "充电枪状态(1=离线,2=空闲,3=占用(未充电),4=占用(充电中),5=占用(已充满),6=占用(预约锁定),7=故障)")
+    @ApiModelProperty(value = "充电枪状态(1=离线,2=空闲,3=占用(未充电),4=占用(充电中),5=占用(已充满),6=占用(预约锁定),7=故障)", required = true)
     @TableField("status")
     private Integer status;
 
-    @ApiModelProperty(value = "充电模式(1=超级快充,2=快充,3=慢充)")
+    @ApiModelProperty(value = "充电模式(1=超级快充,2=快充,3=慢充)", required = true)
     @TableField("charge_mode")
     private Integer chargeMode;
 
@@ -71,21 +71,25 @@
     @TableField("accounting_strategy_id")
     private Integer accountingStrategyId;
 
-    @ApiModelProperty(value = "额定电压上限")
+    @ApiModelProperty(value = "额定电压上限", required = true)
     @TableField("upper_rated_voltage")
     private BigDecimal upperRatedVoltage;
 
-    @ApiModelProperty(value = "额定电压下限")
+    @ApiModelProperty(value = "额定电压下限", required = true)
     @TableField("lower_limit_of_rated_voltage")
     private BigDecimal lowerLimitOfRatedVoltage;
 
-    @ApiModelProperty(value = "额定电流")
+    @ApiModelProperty(value = "额定电流", required = true)
     @TableField("rated_current")
     private BigDecimal ratedCurrent;
 
-    @ApiModelProperty(value = "额定功率")
+    @ApiModelProperty(value = "额定功率", required = true)
     @TableField("rated_power")
     private BigDecimal ratedPower;
+    
+    @ApiModelProperty(value = "实时充电功率", required = true)
+    @TableField("charging_power")
+    private BigDecimal chargingPower;
 
     @ApiModelProperty(value = "车位号")
     @TableField("parking_number")
@@ -99,7 +103,7 @@
     @TableField("parking_lock_state")
     private Integer parkingLockState;
 
-    @ApiModelProperty(value = "国家标准")
+    @ApiModelProperty(value = "国家标准", required = true)
     @TableField("national_standard")
     private String nationalStandard;
 

--
Gitblit v1.7.1