package com.junmp.jyzb.api.bean.query.ProcessReq;

import com.junmp.v2.common.bean.request.ValidationApi;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class SuspendOrActivateDefinitionReq {
    /**
     * 流程定义ID
     */
    @NotNull(message = "流程定义不能为空", groups = {ValidationApi.edit.class, ValidationApi.delete.class, ValidationApi.detail.class})
    private String processDefinitionId;

    /**
     * 表单
     */
    private  String formId;
    /**
     * 备注信息
     */
    private Boolean isStop;

}
