package com.wgcloud.entity;
|
|
import java.util.Date;
|
|
/**
|
* @version v3.3
|
* @ClassName:AppState.java
|
* @author: http://www.wgstart.com
|
* @date: 2021年1月16日
|
* @Description: 指令下发状态信息
|
* @Copyright: 2019-2021 wgcloud. All rights reserved.
|
*/
|
public class ShellState extends BaseEntity {
|
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 指令信息ID
|
*/
|
private String shellId;
|
|
|
/**
|
* host名称
|
*/
|
private String hostname;
|
|
/**
|
* 指令内容
|
*/
|
private String shell;
|
|
|
/**
|
* 脚本执行状态,1下发中,2已取消,3已执行成功,4已下发,失败时存贮错误信息
|
*/
|
private String state;
|
|
/**
|
* 创建时间
|
*/
|
private Date createTime;
|
|
/**
|
* 指令下发时间,毫秒
|
* 立即下发时候,此值为0
|
*/
|
private String shellTime;
|
|
public String getShellId() {
|
return shellId;
|
}
|
|
public void setShellId(String shellId) {
|
this.shellId = shellId;
|
}
|
|
public String getHostname() {
|
return hostname;
|
}
|
|
public void setHostname(String hostname) {
|
this.hostname = hostname;
|
}
|
|
public String getState() {
|
return state;
|
}
|
|
public void setState(String state) {
|
this.state = state;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public String getShell() {
|
return shell;
|
}
|
|
public void setShell(String shell) {
|
this.shell = shell;
|
}
|
|
public String getShellTime() {
|
return shellTime;
|
}
|
|
public void setShellTime(String shellTime) {
|
this.shellTime = shellTime;
|
}
|
}
|