From b38c7eef70229f8fff33c413779d17b7cdd51b31 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Mon, 25 Dec 2023 23:45:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../genersoft/iot/vmp/gb28181/bean/Device.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/Device.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/Device.java index 431d2ed8..e625b141 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/Device.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/Device.java @@ -10,6 +10,14 @@ import io.swagger.v3.oas.annotations.media.Schema; @Schema(description = "国标设备/平台") public class Device { + + + /** + * 数据库自增ID + */ + @Schema(description = "数据库自增ID") + private int id; + /** * 设备国标编号 */ @@ -191,6 +199,13 @@ public class Device { @Schema(description = "自动同步通道信息到资源库") private boolean autoSyncChannel; + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } public String getDeviceId() { return deviceId;