content: package com.aizuda.snailjob.server.web.model.request;
  
  import com.aizuda.snailjob.common.core.enums.RetryStatusEnum;
  import jakarta.validation.constraints.NotBlank;
  import lombok.Data;
  
  /**
   * 重试数据模型
   *
   * @author opensnail
   * @date 2023-09-29
   * @since 2.0
   */
  @Data
  public class RetrySaveRequestVO {
  
      /**
       * 组名称
       */
      @NotBlank(message = "Group name cannot be null")
      private String groupName;
  
      /**
       * 场景名称
       */
      @NotBlank(message = "Scene name cannot be null")
      private String sceneName;
  
      /**
       * 幂等id(同一个场景下正在重试中的idempotentId不能重复)
       */
      @NotBlank(message = "Idempotent ID cannot be empty")
      private String idempotentId;
  
      @NotBlank(message = "serializerName cannot be empty")
      private String serializerName;
  
      /**
       * 业务编号
       */
      private String bizNo;
  
      /**
       * 重试参数
       */
      private String argsStr;
  
      /**
       * 扩展重试参数
       */
      private String extAttrs;
  
      /**
       * 执行器名称(全类路径)
       */
      @NotBlank(message = "Executor name cannot be empty")
      private String executorName;
  
      /**
       * 重试状态 {@link RetryStatusEnum}
       */
      private Integer retryStatus;
  
  }
  