package com.doumee.biz.system.dto;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotNull;
|
|
/**
|
* @author dm
|
* @since 2025/03/31 16:44
|
*/
|
@Data
|
@ApiModel("触发分片任务参数")
|
public class TriggerJobSnippetDTO {
|
|
@ApiModelProperty(value = "分片ID", example = "1")
|
@NotNull(message = "分片ID不能为空")
|
private Integer id;
|
|
@ApiModelProperty(value = "触发类型", hidden = true)
|
@NotNull(message = "触发类型")
|
private String triggerType;
|
}
|