package com.njcn.bpm.pojo.param.task;

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

import javax.validation.constraints.NotBlank;
import java.util.Collection;
import java.util.Map;

@Schema(description = "管理后台 - 不通过流程任务的 Request VO")
@Data
public class BpmTaskRejectParam {


    @ApiModelProperty("任务编号")
    @NotBlank(message = "任务编号不能为空")
    private String id;


    @ApiModelProperty("审批意见")
    @NotBlank(message = "审批意见不能为空")
    private String reason;

    @ApiModelProperty("抄送的用户编号数组")
    private Collection<String> copyUserIds;

    @ApiModelProperty("变量实例（动态表单）")
    private Map<String, Object> variables;
}
