package cn.iocoder.yudao.module.mes.controller.admin.taskmanagement.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Schema(description = "任务管理 - 更新启用状态 Request VO")
@Data
public class TaskManagementUpdateEnabledReqVO {

    @Schema(description = "任务ID", required = true, example = "1024")
    @NotNull(message = "任务ID不能为空")
    private Long id;

    @Schema(description = "是否启用", required = true, example = "true")
    @NotNull(message = "启用状态不能为空")
    private Boolean enabled;
}