性能测试实体类类型修改

This commit is contained in:
2025-04-15 09:20:29 +08:00
parent d0d195c69c
commit 082094d9ef
2 changed files with 82 additions and 82 deletions

View File

@@ -28,47 +28,47 @@ public class PerformanceTest extends BaseEntity
/** 定时任务状态0关闭1开启默认0 */
@Excel(name = "定时任务状态0关闭1开启默认0")
private Long crontabStatus;
private Integer crontabStatus;
/** 并发线程数 */
@Excel(name = "并发线程数")
private Long concurrentThreads;
private Integer concurrentThreads;
/** 在取样器错误后要执行的动作1继续2开始下一个线程轮询3停止线程4停止测试5立即停止测试 */
@Excel(name = "在取样器错误后要执行的动作1继续2开始下一个线程轮询3停止线程4停止测试5立即停止测试")
private Long errorOperType;
private Integer errorOperType;
/** 执行方式1按持续时间2按迭代次数 */
@Excel(name = "执行方式1按持续时间2按迭代次数")
private Long executeType;
private Integer executeType;
/** 多少秒内线程建立完成默认0 */
@Excel(name = "多少秒内线程建立完成默认0")
private Long rampUpSeconds;
private Integer rampUpSeconds;
/** 压测时长默认0 */
@Excel(name = "压测时长默认0")
private Long pressureHour;
private Integer pressureHour;
/** 压测时长默认0 */
@Excel(name = "压测时长默认0")
private Long pressureMinute;
private Integer pressureMinute;
/** 压测时长默认0 */
@Excel(name = "压测时长默认0")
private Long pressureSecond;
private Integer pressureSecond;
/** 迭代次数默认0 */
@Excel(name = "迭代次数默认0")
private Long loopCount;
private Integer loopCount;
/** rps状态0关闭1开启默认0 */
@Excel(name = "rps状态0关闭1开启默认0")
private Long rpsStatus;
private Integer rpsStatus;
/** 每分钟rps上限数默认0 */
@Excel(name = "每分钟rps上限数默认0")
private Long rpsLimit;
private Integer rpsLimit;
/** 是否已执行完成状态0否1是默认0 */
@Excel(name = "是否已执行完成状态0否1是默认0")
@@ -104,102 +104,102 @@ public class PerformanceTest extends BaseEntity
{
return crontab;
}
public void setCrontabStatus(Long crontabStatus)
public void setCrontabStatus(Integer crontabStatus)
{
this.crontabStatus = crontabStatus;
}
public Long getCrontabStatus()
public Integer getCrontabStatus()
{
return crontabStatus;
}
public void setConcurrentThreads(Long concurrentThreads)
public void setConcurrentThreads(Integer concurrentThreads)
{
this.concurrentThreads = concurrentThreads;
}
public Long getConcurrentThreads()
public Integer getConcurrentThreads()
{
return concurrentThreads;
}
public void setErrorOperType(Long errorOperType)
public void setErrorOperType(Integer errorOperType)
{
this.errorOperType = errorOperType;
}
public Long getErrorOperType()
public Integer getErrorOperType()
{
return errorOperType;
}
public void setExecuteType(Long executeType)
public void setExecuteType(Integer executeType)
{
this.executeType = executeType;
}
public Long getExecuteType()
public Integer getExecuteType()
{
return executeType;
}
public void setRampUpSeconds(Long rampUpSeconds)
public void setRampUpSeconds(Integer rampUpSeconds)
{
this.rampUpSeconds = rampUpSeconds;
}
public Long getRampUpSeconds()
public Integer getRampUpSeconds()
{
return rampUpSeconds;
}
public void setPressureHour(Long pressureHour)
public void setPressureHour(Integer pressureHour)
{
this.pressureHour = pressureHour;
}
public Long getPressureHour()
public Integer getPressureHour()
{
return pressureHour;
}
public void setPressureMinute(Long pressureMinute)
public void setPressureMinute(Integer pressureMinute)
{
this.pressureMinute = pressureMinute;
}
public Long getPressureMinute()
public Integer getPressureMinute()
{
return pressureMinute;
}
public void setPressureSecond(Long pressureSecond)
public void setPressureSecond(Integer pressureSecond)
{
this.pressureSecond = pressureSecond;
}
public Long getPressureSecond()
public Integer getPressureSecond()
{
return pressureSecond;
}
public void setLoopCount(Long loopCount)
public void setLoopCount(Integer loopCount)
{
this.loopCount = loopCount;
}
public Long getLoopCount()
public Integer getLoopCount()
{
return loopCount;
}
public void setRpsStatus(Long rpsStatus)
public void setRpsStatus(Integer rpsStatus)
{
this.rpsStatus = rpsStatus;
}
public Long getRpsStatus()
public Integer getRpsStatus()
{
return rpsStatus;
}
public void setRpsLimit(Long rpsLimit)
public void setRpsLimit(Integer rpsLimit)
{
this.rpsLimit = rpsLimit;
}
public Long getRpsLimit()
public Integer getRpsLimit()
{
return rpsLimit;
}

View File

@@ -28,7 +28,7 @@ public class PerformanceTestCase extends BaseEntity
/** 状态0关闭1开启默认1 */
@Excel(name = "状态0关闭1开启默认1")
private Long status;
private Integer status;
public void setId(Long id)
{
@@ -57,12 +57,12 @@ public class PerformanceTestCase extends BaseEntity
{
return testCaseId;
}
public void setStatus(Long status)
public void setStatus(Integer status)
{
this.status = status;
}
public Long getStatus()
public Integer getStatus()
{
return status;
}