jiazx0107@163.com
2023-11-10 d52795fc5de0b6ed748cd2ef217dcd1371e4b8e9
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;
/**
@@ -23,11 +25,11 @@
    @PropertyDef(label = "系统ID")
    private String id;
    @Column(name = "DEVICE_SN_", length = 50)
    @Column(name = "DEVICE_SN_", length = 100)
    @PropertyDef(label = "设备序列号")
    private String deviceSn;
    @Column(name = "DEVICE_ID_", length = 100)
    @Column(name = "DEVICE_ID_", length = 50)
    @PropertyDef(label = "设备ID")
    private String deviceId;
@@ -35,17 +37,25 @@
    @PropertyDef(label = "名称")
    private String deviceName;
    @Column(name = "PRODUCT_ID_", length = 50)
    @PropertyDef(label = "设备类型KEY")
    private String productId;
    @Column(name = "TYPE_", length = 10)
    @PropertyDef(label = "设备类型")
    private String type;
    @Column(name = "DEPOT_ID_", length = 30)
    @PropertyDef(label = "所属仓库")
    @PropertyDef(label = "仓库编码")
    private String depotId;
    @Column(name = "DEPOT_NAME_", length = 50)
    @PropertyDef(label = "所属仓库")
    @PropertyDef(label = "仓库名称")
    private String depotName;
    @Column(name = "DEPOT_ID_SYS_", length = 30)
    @PropertyDef(label = "库区系统仓库编码")
    private String depotIdSys;
    @Column(name = "IP_", length = 20)
    @PropertyDef(label = "通讯IP")
@@ -54,7 +64,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;
@@ -66,6 +84,10 @@
    @PropertyDef(label = "上行协议")
    @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)
@@ -83,4 +105,13 @@
    @PropertyDef(label = "备注", description = "备注信息")
    private String remark;
    @Column(name = "CABLE_RULE_", length = 20)
    @PropertyDef(label = "布线规则", description = "平方仓表示层行列,筒仓表示每圈的列数")
    private String cableRule;
    @Column(name = "CABLE_CIR_", length = 20)
    @PropertyDef(label = "筒仓层规则", description = "针对筒仓")
    private String cableCir;
}