Explorar o código

设备台账添加字段

Zimo hai 5 días
pai
achega
ae2655c2a1

+ 6 - 0
yudao-module-pms/yudao-module-pms-biz/src/main/java/cn/iocoder/yudao/module/pms/controller/admin/vo/IotDeviceRespVO.java

@@ -262,6 +262,12 @@ public class IotDeviceRespVO {
     private String deviceNo;
     @Schema(description = "设备等级")
     private String deviceGrade;
+    @Schema(description = "每月折旧金额")
+    private Double monthAmount;
+    @Schema(description = "总折旧月份")
+    private Integer totalMonth;
+    @Schema(description = "币种")
+    private String currency;
 
     private String mqttUrl;
 }

+ 6 - 0
yudao-module-pms/yudao-module-pms-biz/src/main/java/cn/iocoder/yudao/module/pms/controller/admin/vo/IotDeviceSaveReqVO.java

@@ -125,4 +125,10 @@ public class IotDeviceSaveReqVO {
     private String deviceNo;
     @Schema(description = "设备等级")
     private String deviceGrade;
+    @Schema(description = "每月折旧金额")
+    private Double monthAmount;
+    @Schema(description = "总折旧月份")
+    private Integer totalMonth;
+    @Schema(description = "币种")
+    private String currency;
 }

+ 14 - 0
yudao-module-pms/yudao-module-pms-biz/src/main/java/cn/iocoder/yudao/module/pms/dal/dataobject/IotDeviceDO.java

@@ -189,4 +189,18 @@ public class IotDeviceDO extends BaseDO {
      * 设备等级
      */
     private String deviceGrade;
+    /**
+     * 每月折旧金额
+     */
+    private Double monthAmount;
+
+    /**
+     * 总折旧月份
+     */
+    private Integer totalMonth;
+
+    /**
+     * 币种
+     */
+    private String currency;
 }