| package com.doumee.biz.system.dto; | 
|   | 
| import com.fasterxml.jackson.annotation.JsonFormat; | 
| import io.swagger.annotations.ApiModel; | 
| import io.swagger.annotations.ApiModelProperty; | 
| import lombok.Data; | 
|   | 
| import javax.validation.constraints.NotNull; | 
| import java.util.Date; | 
|   | 
| /** | 
|  * @author  dm | 
|  * @since 2025/03/31 16:44 | 
|  */ | 
| @Data | 
| @ApiModel("触发任务参数") | 
| public class TriggerJobDTO { | 
|   | 
|     @ApiModelProperty(value = "任务ID", example = "1") | 
|     @NotNull(message = "任务ID不能为空") | 
|     private Integer id; | 
|   | 
|     @ApiModelProperty(value = "业务时间") | 
|     @NotNull(message = "业务时间不能为空") | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|     private Date businessTime; | 
|   | 
|     @ApiModelProperty(value = "预计执行时间", hidden = true) | 
|     private Date scheduledFireTime; | 
|   | 
|     @ApiModelProperty(value = "实际执行时间", hidden = true) | 
|     private Date fireTime; | 
|   | 
|     @ApiModelProperty(value = "预计下次执行时间", hidden = true) | 
|     private Date nextFireTime; | 
|   | 
|     @ApiModelProperty(value = "触发类型", hidden = true) | 
|     private String triggerType; | 
| } |