This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
k18-ntcs-web-argus-service/src/main/java/com/nis/domain/restful/AbnormalMachine.java
RenKaiGe-Office 31f2fd11ea 1:添加nms上报服务器信息的接口
2:修改读取app*-rule.properties的方法
2018-08-21 16:36:52 +08:00

56 lines
1.3 KiB
Java

package com.nis.domain.restful;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
/**
*
* <p>Title: AbnormalMachine</p>
* <p>Description: nms上报的异常机器ip信息</p>
* <p>Company: IIE</p>
* @author rkg
* @date 2018年8月17日
*
*/
@ApiModel(value = "AbnormalMachine对象", description = "nms上报的异常机器ip信息类")
public class AbnormalMachine implements Serializable {
private static final long serialVersionUID = 1L;
// 与TrafficNmsServerStatistic中id是主外键关系,TrafficNmsServerStatistic中id是主键
@JsonIgnore
private Integer nmsServerId;
// 主机名称
@ApiModelProperty(value = "hostName", notes = "主机名称")
private String hostName;
private String ip;
public String getHostName() {
return hostName;
}
public void setHostName(String hostName) {
this.hostName = hostName;
}
public String getIp() {
return ip;
}
public void setIp(String ip) {
this.ip = ip;
}
public Integer getNmsServerId() {
return nmsServerId;
}
public void setNmsServerId(Integer nmsServerId) {
this.nmsServerId = nmsServerId;
}
}