Parcourir la source

视频设备新增字段

hanzhengyi il y a 4 mois
Parent
commit
0ff6e8264e

+ 10 - 0
service-iot/service-iot-biz/src/main/java/com/usky/iot/domain/VcDevice.java

@@ -82,6 +82,16 @@ public class VcDevice implements Serializable {
      */
     private Integer videoPort;
 
+    /**
+     * 摄像头账号
+     */
+    private String accountNumber;
+
+    /**
+     * 摄像头密码
+     */
+    private String videoPassword;
+
     /**
      * 创建者
      */

+ 2 - 0
service-iot/service-iot-biz/src/main/resources/mapper/iot/VcDeviceMapper.xml

@@ -16,6 +16,8 @@
         <result column="video_desc" property="videoDesc" />
         <result column="video_ip" property="videoIP" />
         <result column="video_port" property="videoPort" />
+        <result column="account_number" property="accountNumber" />
+        <result column="video_password" property="videoPassword" />
         <result column="create_by" property="createBy" />
         <result column="create_time" property="createTime" />
         <result column="update_by" property="updateBy" />