package net.educoder.ecsonar.model.vo;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

/**
 * @Author: youys
 * @Date: 2023/9/1
 * @Description: 详细列表查询
 */

@Data
public class GraduationQualityInspectResultQueryVO extends PageVO{


    @NotBlank(message = "任务id不能为空")
    private String taskId;

    @Min(value = 1, message = "最小值为1")
    @Max(value = 100, message = "最大值为100")
    private Integer bugRate;


    @Min(value = 1, message = "最小值为1")
    @Max(value = 100, message = "最大值为100")
    private Integer vulnerabilityRate;

    @Min(value = 1, message = "最小值为1")
    @Max(value = 100, message = "最大值为100")
    private Integer codeSmallRate;
}
