package com.njcn.gather.detection.pojo.param;

import com.njcn.gather.pojo.constant.DetectionValidMessage;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author caozehui
 * @data 2025-03-06
 */
@Data
public class SimulateDetectionParam {

    /**
     * 操作类型 9.模拟检测
     */
    private String operateType = "9";


    /**
     * 用户功能组成唯一标识 zhangsan_test
     */
    private String userPageId;

    /**
     * 检测脚本Id
     */
    private String scriptId;

    @NotNull(message = DetectionValidMessage.INDEX_NOT_NULL)
    private Integer scriptIndex;

    /**
     * 源id
     */
    @NotBlank(message = DetectionValidMessage.SOURCE_ID_NOT_BLANK)
    private String sourceId;
}
