package com.moon.server.entity.shujian;
|
|
import java.io.Serializable;
|
import java.util.ArrayList;
|
import java.util.List;
|
|
@SuppressWarnings("AlibabaLowerCamelCaseVariableNaming")
|
public class TaskResultEntity implements Serializable {
|
private static final long serialVersionUID = -6420150955559673365L;
|
|
public TaskResultEntity() {
|
this.result = new ArrayList<>();
|
}
|
|
private String command;
|
|
private String status;
|
|
private List<Result> result;
|
|
public String getCommand() {
|
return command;
|
}
|
|
public void setCommand(String command) {
|
this.command = command;
|
}
|
|
public String getStatus() {
|
return status;
|
}
|
|
public void setStatus(String status) {
|
this.status = status;
|
}
|
|
public List<Result> getResult() {
|
return result;
|
}
|
|
public void setResult(List<Result> result) {
|
this.result = result;
|
}
|
|
public class Result {
|
public Result() {
|
}
|
|
private String name;
|
|
/**
|
* 任务状态,0:创建,1:初始化,2:执行,3:完成,4:错误,5:取消
|
*/
|
private Integer status;
|
|
private Integer data_id;
|
|
private String description;
|
|
private Double process;
|
|
private Integer command;
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public Integer getStatus() {
|
return status;
|
}
|
|
public void setStatus(Integer status) {
|
this.status = status;
|
}
|
|
public Integer getData_id() {
|
return data_id;
|
}
|
|
public void setData_id(Integer data_id) {
|
this.data_id = data_id;
|
}
|
|
public String getDescription() {
|
return description;
|
}
|
|
public void setDescription(String description) {
|
this.description = description;
|
}
|
|
public Double getProcess() {
|
return process;
|
}
|
|
public void setProcess(Double process) {
|
this.process = process;
|
}
|
|
public Integer getCommand() {
|
return command;
|
}
|
|
public void setCommand(Integer command) {
|
this.command = command;
|
}
|
}
|
}
|