package com.wgcloud.entity;
|
|
import java.util.Date;
|
|
/**
|
* @version v3.3
|
* @ClassName:FileSafe.java
|
* @author: http://www.wgstart.com
|
* @date: 2021年9月21日
|
* @Description: 文件防篡改监测信息
|
* @Copyright: 2019-2021 wgcloud. All rights reserved.
|
*/
|
public class FileSafe extends BaseEntity {
|
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* host名称
|
*/
|
private String hostname;
|
|
/**
|
* 文件名称
|
*/
|
private String fileName;
|
|
/**
|
* 文件绝对路径
|
*/
|
private String filePath;
|
|
/**
|
* 文件md5字符串
|
*/
|
private String fileSign;
|
|
/**
|
* 状态,1正常,2下线
|
*/
|
private String state;
|
|
/**
|
* 1启用监控2停止监控
|
*/
|
private String active;
|
|
//累积告警次数,页面显示用,数据库无此字段
|
private Integer warnCount;
|
|
//累积告警次数查询关键字,页面显示用,数据库无此字段
|
private String warnQueryWd;
|
|
//所属用户账号,页面显示用,数据库无此字段
|
private String account;
|
|
//文件最后修改时间
|
private String fileModtime;
|
|
/**
|
* 创建时间
|
*/
|
private Date createTime;
|
|
public String getHostname() {
|
return hostname;
|
}
|
|
public void setHostname(String hostname) {
|
this.hostname = hostname;
|
}
|
|
public String getFileName() {
|
return fileName;
|
}
|
|
public void setFileName(String fileName) {
|
this.fileName = fileName;
|
}
|
|
public String getFilePath() {
|
return filePath;
|
}
|
|
public void setFilePath(String filePath) {
|
this.filePath = filePath;
|
}
|
|
public String getFileSign() {
|
return fileSign;
|
}
|
|
public void setFileSign(String fileSign) {
|
this.fileSign = fileSign;
|
}
|
|
public String getState() {
|
return state;
|
}
|
|
public void setState(String state) {
|
this.state = state;
|
}
|
|
public String getActive() {
|
return active;
|
}
|
|
public void setActive(String active) {
|
this.active = active;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Integer getWarnCount() {
|
return warnCount;
|
}
|
|
public void setWarnCount(Integer warnCount) {
|
this.warnCount = warnCount;
|
}
|
|
public String getWarnQueryWd() {
|
return warnQueryWd;
|
}
|
|
public void setWarnQueryWd(String warnQueryWd) {
|
this.warnQueryWd = warnQueryWd;
|
}
|
|
public String getAccount() {
|
return account;
|
}
|
|
public void setAccount(String account) {
|
this.account = account;
|
}
|
|
public String getFileModtime() {
|
return fileModtime;
|
}
|
|
public void setFileModtime(String fileModtime) {
|
this.fileModtime = fileModtime;
|
}
|
}
|