package cn.iocoder.yudao.module.common.controller.admin.moldticketmanagement.vo;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

// 1. 新增请求VO
@Data
public class MoldTicketManagementBatchUpdateReqVO {

    @Schema(description = "工单ID列表，用逗号分隔", example = "1,2,3")
    @NotBlank(message = "工单ID不能为空")
    private String ids;

    @Schema(description = "作业状态", example = "2")
    @NotNull(message = "作业状态不能为空")
    private Integer jobStatus ; // 默认值为2

     @Schema(description = "取消原因")
     @NotNull(message = "取消原因不能为空")
     private String cancelReason;
}