Commit ca732f43 authored by 赵啸非's avatar 赵啸非

精简pom.xml

parent a9f3ec84
...@@ -86,10 +86,34 @@ public class DevicePdu extends BaseEntityLong { ...@@ -86,10 +86,34 @@ public class DevicePdu extends BaseEntityLong {
*/ */
private Integer source; private Integer source;
/**
* 设备生产厂商ID
*/
private Long deviceFirmId;
/**
* 设备生产厂商名称
*/
private String deviceFirmname;
/**
* 设备访问ip
*/
private String ip;
/**
* 端口
*/
private String port;
/** /**
* 启用状态 (0.停止,1.启用) * 启用状态 (0.停止,1.启用)
*/ */
private Integer enabled; private Integer enabled;
/**
* 最近上线时间
*/
private Date onlineTime;
/**
* 最近离线时间
*/
private Date offlineTime;
public void initAttrValue(){ public void initAttrValue(){
......
...@@ -65,3 +65,6 @@ ALTER TABLE mortals_xhx_device ...@@ -65,3 +65,6 @@ ALTER TABLE mortals_xhx_device
ALTER TABLE mortals_xhx_device ALTER TABLE mortals_xhx_device
ADD COLUMN `deviceInFloor` tinyint(4) COMMENT '所属楼层'; ADD COLUMN `deviceInFloor` tinyint(4) COMMENT '所属楼层';
ALTER TABLE mortals_xhx_device
ADD COLUMN `resolution` varchar(64) COMMENT '分辨率';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment