94 lines
2.0 KiB
Java
94 lines
2.0 KiB
Java
package com.luqj.ec.domain;
|
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import com.ruoyi.common.annotation.Excel;
|
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
import java.io.Serializable;
|
|
/**
|
|
* 任务指令明细(一个任务多条指令)对象 ec_task_command
|
|
*
|
|
* @author luqj
|
|
* @date 2026-02-27
|
|
*/
|
|
public class EcTaskCommand extends BaseEntity
|
|
{
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/** 主键 */
|
|
private Long id;
|
|
|
|
/** 任务ID */
|
|
@Excel(name = "任务ID")
|
|
private Long taskId;
|
|
|
|
/** 执行顺序 */
|
|
@Excel(name = "执行顺序")
|
|
private Long stepOrder;
|
|
|
|
/** 指令类型 */
|
|
@Excel(name = "指令类型")
|
|
private String commandType;
|
|
|
|
/** 指令参数 */
|
|
@Excel(name = "指令参数")
|
|
private String commandContent;
|
|
|
|
public void setId(Long id)
|
|
{
|
|
this.id = id;
|
|
}
|
|
|
|
public Long getId()
|
|
{
|
|
return id;
|
|
}
|
|
public void setTaskId(Long taskId)
|
|
{
|
|
this.taskId = taskId;
|
|
}
|
|
|
|
public Long getTaskId()
|
|
{
|
|
return taskId;
|
|
}
|
|
public void setStepOrder(Long stepOrder)
|
|
{
|
|
this.stepOrder = stepOrder;
|
|
}
|
|
|
|
public Long getStepOrder()
|
|
{
|
|
return stepOrder;
|
|
}
|
|
public void setCommandType(String commandType)
|
|
{
|
|
this.commandType = commandType;
|
|
}
|
|
|
|
public String getCommandType()
|
|
{
|
|
return commandType;
|
|
}
|
|
public void setCommandContent(String commandContent)
|
|
{
|
|
this.commandContent = commandContent;
|
|
}
|
|
|
|
public String getCommandContent()
|
|
{
|
|
return commandContent;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
.append("id", getId())
|
|
.append("taskId", getTaskId())
|
|
.append("stepOrder", getStepOrder())
|
|
.append("commandType", getCommandType())
|
|
.append("commandContent", getCommandContent())
|
|
.toString();
|
|
}
|
|
}
|