修改串联设备端口告警表中port的类型
This commit is contained in:
@@ -12,7 +12,7 @@ CREATE TABLE `traffic_seriesdevice_port_info` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`commit_time` datetime DEFAULT NULL COMMENT '时间',
|
||||
`area` varchar(255) DEFAULT '' COMMENT '区域',
|
||||
`port` int(5) DEFAULT NULL COMMENT '端口',
|
||||
`port` varchar(255) DEFAULT NULL COMMENT '端口',
|
||||
`status` varchar(10) DEFAULT '' COMMENT 'down, up, bypass, pass',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
@@ -15,7 +15,7 @@ public class TrafficSeriesDevicePortInfo implements Serializable {
|
||||
@JsonIgnore
|
||||
private long id;
|
||||
private String area;
|
||||
private Integer port;
|
||||
private String port;
|
||||
private String status;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "commitTime", notes = "时间")
|
||||
@@ -37,11 +37,11 @@ public class TrafficSeriesDevicePortInfo implements Serializable {
|
||||
this.area = area;
|
||||
}
|
||||
|
||||
public Integer getPort() {
|
||||
public String getPort() {
|
||||
return port;
|
||||
}
|
||||
|
||||
public void setPort(Integer port) {
|
||||
public void setPort(String port) {
|
||||
this.port = port;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user