From 8cb5d3440208a3be3e772e65f1bd0ec63031ba62 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期三, 17 十二月 2025 08:37:14 +0800
Subject: [PATCH] feat: 增加服务单派发通知
---
ruoyi-system/src/main/java/com/ruoyi/system/domain/CmsVehicleDeviceListResponse.java | 64 ++++++++++++-------------------
1 files changed, 25 insertions(+), 39 deletions(-)
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/CmsVehicleDeviceListResponse.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/CmsVehicleDeviceListResponse.java
index df25b7e..120754e 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/CmsVehicleDeviceListResponse.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/CmsVehicleDeviceListResponse.java
@@ -1,74 +1,60 @@
package com.ruoyi.system.domain;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.io.Serializable;
import java.util.List;
/**
- * CMS杞﹁締璁惧鍒楄〃鏌ヨ鍝嶅簲
+ * CMS杞﹁締璁惧鍒楄〃鍝嶅簲
*/
-public class CmsVehicleDeviceListResponse implements Serializable {
- private static final long serialVersionUID = 1L;
+public class CmsVehicleDeviceListResponse {
+ private int result;
+ private List<CmsVehicleDevice> devices;
- /** 缁撴灉鐮� */
- @JsonProperty("result")
- private Integer result;
-
- /** 璁惧鍒楄〃 */
- @JsonProperty("devices")
- private List<VehicleDevice> devices;
-
- public Integer getResult() {
+ public int getResult() {
return result;
}
- public void setResult(Integer result) {
+ public void setResult(int result) {
this.result = result;
}
- public List<VehicleDevice> getDevices() {
+ public List<CmsVehicleDevice> getDevices() {
return devices;
}
- public void setDevices(List<VehicleDevice> devices) {
+ public void setDevices(List<CmsVehicleDevice> devices) {
this.devices = devices;
}
- public static class VehicleDevice {
- /** 杞︾墝鍙� */
- @JsonProperty("vid")
- private String vehicleId;
+ /**
+ * CMS杞﹁締璁惧淇℃伅
+ */
+ public static class CmsVehicleDevice {
+ private String vid; // 杞︾墝鍙�
+ private int type; // 璁惧绫诲瀷锛�1锛氳棰戣澶囷紝0锛欸PS璁惧锛�
+ private String did; // 璁惧鍙�
- /** 璁惧绫诲瀷 */
- @JsonProperty("type")
- private Integer type;
-
- /** 璁惧鍙� */
- @JsonProperty("did")
- private String deviceId;
-
- public String getVehicleId() {
- return vehicleId;
+ public String getVid() {
+ return vid;
}
- public void setVehicleId(String vehicleId) {
- this.vehicleId = vehicleId;
+ public void setVid(String vid) {
+ this.vid = vid;
}
- public Integer getType() {
+ public int getType() {
return type;
}
- public void setType(Integer type) {
+ public void setType(int type) {
this.type = type;
}
- public String getDeviceId() {
- return deviceId;
+ public String getDid() {
+ return did;
}
- public void setDeviceId(String deviceId) {
- this.deviceId = deviceId;
+ public void setDid(String did) {
+ this.did = did;
}
}
}
\ No newline at end of file
--
Gitblit v1.9.1