package com.ruoyi.system.domain;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotNull;
|
import jakarta.validation.constraints.Size;
|
|
/** 测试预警阈值对象 t_test_warning_threshold。 */
|
public class TTestWarningThreshold implements Serializable
|
{
|
private static final long serialVersionUID = 1L;
|
|
private Long thresholdId;
|
private Long testId;
|
@NotBlank(message = "阈值类型不能为空")
|
@Size(max = 100, message = "阈值类型长度不能超过100个字符")
|
private String thresholdType;
|
@NotNull(message = "阈值最小值不能为空")
|
private BigDecimal minValue;
|
@NotNull(message = "阈值最大值不能为空")
|
private BigDecimal maxValue;
|
private String delFlag;
|
|
public Long getThresholdId() { return thresholdId; }
|
public void setThresholdId(Long thresholdId) { this.thresholdId = thresholdId; }
|
public Long getTestId() { return testId; }
|
public void setTestId(Long testId) { this.testId = testId; }
|
public String getThresholdType() { return thresholdType; }
|
public void setThresholdType(String thresholdType) { this.thresholdType = thresholdType; }
|
public BigDecimal getMinValue() { return minValue; }
|
public void setMinValue(BigDecimal minValue) { this.minValue = minValue; }
|
public BigDecimal getMaxValue() { return maxValue; }
|
public void setMaxValue(BigDecimal maxValue) { this.maxValue = maxValue; }
|
public String getDelFlag() { return delFlag; }
|
public void setDelFlag(String delFlag) { this.delFlag = delFlag; }
|
}
|