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

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

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 流程实例的取消 Request VO")
@Data
public class BpmProcessInstanceCancelParam {

    @ApiModelProperty("流程业务的编号")
    @NotEmpty(message = "流程业务的编号不能为空")
    private String id;

    @ApiModelProperty("取消原因")
    @NotEmpty(message = "取消原因不能为空")
    private String reason;

    @ApiModelProperty("流程实例的编号")
    @NotEmpty(message = "流程实例的编号不能为空")
    private String processInstanceId;

}
