From 8766cfc344d3635cd7e50a7c674cd5feb54d5a3d Mon Sep 17 00:00:00 2001 From: liriming <1343021927@qq.com> Date: 星期一, 02 十二月 2024 09:30:35 +0800 Subject: [PATCH] 预警mq监听并发送 --- shasteel-biz/src/main/java/com/iailab/module/shasteel/job/dto/ScheduleJobDTO.java | 30 ------------------------------ 1 files changed, 0 insertions(+), 30 deletions(-) diff --git a/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/dto/ScheduleJobDTO.java b/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/dto/ScheduleJobDTO.java index 42d5775..f5fb494 100644 --- a/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/dto/ScheduleJobDTO.java +++ b/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/dto/ScheduleJobDTO.java @@ -1,24 +1,7 @@ -/** - * Copyright (c) 2018 人人开源 All rights reserved. - * - * https://www.renren.io - * - * 版权所有,侵权必究! - */ - package com.iailab.module.shasteel.job.dto; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.iailab.framework.common.validation.group.AddGroup; -import com.iailab.framework.common.validation.group.DefaultGroup; -import com.iailab.framework.common.validation.group.UpdateGroup; -import io.swagger.v3.oas.annotations.media.Schema; -import io.swagger.v3.oas.annotations.tags.Tag; import lombok.Data; -import javax.validation.constraints.NotBlank; -import javax.validation.constraints.NotNull; -import javax.validation.constraints.Null; import java.io.Serializable; import java.util.Date; @@ -29,34 +12,21 @@ * @since 1.0.0 */ @Data -@Tag(name = "定时任务") public class ScheduleJobDTO implements Serializable { private static final long serialVersionUID = 1L; - @Schema(description = "id") - @Null(message="{id.null}", groups = AddGroup.class) - @NotNull(message="{id.require}", groups = UpdateGroup.class) private Long id; - @Schema(description = "spring bean名称") - @NotBlank(message = "{schedule.bean.require}", groups = DefaultGroup.class) private String beanName; - @Schema(description = "参数") private String params; - @Schema(description = "cron表达式") - @NotBlank(message = "{schedule.cron.require}", groups = DefaultGroup.class) private String cronExpression; - @Schema(description = "任务状态 0:暂停 1:正常") private Integer status; - @Schema(description = "备注") private String remark; - @Schema(description = "创建时间") - @JsonProperty(access = JsonProperty.Access.READ_ONLY) private Date createDate; } -- Gitblit v1.9.3