jiazx0107@163.com
2023-10-26 233c0e20548cadafb77efdcb3418f38c6658bbad
src/main/java/com/fzzy/gateway/entity/GatewayDevice.java
@@ -1,9 +1,11 @@
package com.fzzy.gateway.entity;
import com.bstek.dorado.annotation.PropertyDef;
import lombok.Data;
import javax.persistence.*;
import java.io.Serializable;
/**
@@ -27,7 +29,7 @@
    @PropertyDef(label = "设备序列号")
    private String deviceSn;
    @Column(name = "DEVICE_ID_", length = 100)
    @Column(name = "DEVICE_ID_", length = 50)
    @PropertyDef(label = "设备ID")
    private String deviceId;
@@ -54,7 +56,15 @@
    @Column(name = "PORT_")
    @PropertyDef(label = "通讯端口")
    private Integer port;
    @PropertyDef(label = "设备用户名")
    @Column(name = "username", length = 50)
    private String userName;
    @PropertyDef(label = "设备密码")
    @Column(name = "password", length = 50)
    private String password;
    @Column(name = "RTSP_", length = 100)
    @PropertyDef(label = "视频RTSP", description = "用于局域网内抓拍配置")
    private String rtsp;
@@ -67,6 +77,10 @@
    @Column(name = "PUSH_PROTOCOL_", length = 20)
    private String pushProtocol;
    @PropertyDef(label = "省平台协议")
    @Column(name = "PROVINCE_PROTOCOL_", length = 20)
    private String provinceProtocol;
    @PropertyDef(label = "同步协议")
    @Column(name = "SYNC_PROTOCOL_", length = 20)
    private String syncProtocol;