package com.ruoyi.system.domain;
|
|
import java.io.Serializable;
|
import java.util.Map;
|
import com.alibaba.fastjson2.annotation.JSONField;
|
import jakarta.validation.constraints.Min;
|
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotNull;
|
|
/** 创建测试时配置的计划工步。 */
|
public class TTestPlanStep implements Serializable
|
{
|
private static final long serialVersionUID = 1L;
|
|
private Long planStepId;
|
private Long testId;
|
@NotNull(message = "循环号不能为空")
|
@Min(value = 1, message = "循环号必须大于0")
|
private Integer cycleNo;
|
@NotNull(message = "工步号不能为空")
|
@Min(value = 1, message = "工步号必须大于0")
|
private Integer stepNo;
|
@NotBlank(message = "工步类型不能为空")
|
private String stepType;
|
@NotBlank(message = "工步名称不能为空")
|
private String stepName;
|
@NotNull(message = "工步参数不能为空")
|
private Map<String, Object> parameters;
|
@JSONField(serialize = false)
|
private String parametersJson;
|
@NotNull(message = "工步顺序不能为空")
|
@Min(value = 1, message = "工步顺序必须大于0")
|
private Integer sortOrder;
|
|
public Long getPlanStepId() { return planStepId; }
|
public void setPlanStepId(Long value) { planStepId = value; }
|
public Long getTestId() { return testId; }
|
public void setTestId(Long value) { testId = value; }
|
public Integer getCycleNo() { return cycleNo; }
|
public void setCycleNo(Integer value) { cycleNo = value; }
|
public Integer getStepNo() { return stepNo; }
|
public void setStepNo(Integer value) { stepNo = value; }
|
public String getStepType() { return stepType; }
|
public void setStepType(String value) { stepType = value; }
|
public String getStepName() { return stepName; }
|
public void setStepName(String value) { stepName = value; }
|
public Map<String, Object> getParameters() { return parameters; }
|
public void setParameters(Map<String, Object> value) { parameters = value; }
|
public String getParametersJson() { return parametersJson; }
|
public void setParametersJson(String value) { parametersJson = value; }
|
public Integer getSortOrder() { return sortOrder; }
|
public void setSortOrder(Integer value) { sortOrder = value; }
|
}
|