package com.tykj.workflowcore.workflow_editer.entity.vo;

import com.tykj.workflowcore.api.entity.InvokeRequest;
import com.tykj.workflowcore.api.entity.Parameter;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.runtime.ProcessInstance;

import java.util.List;

/**
 * ClassName:    InvokeRequestVo
 * Package:    com.tykj.workflowcore.workflow_editer.vo
 * Description:
 * Datetime:    2021/3/10   20:17
 *
 * @Author: zsp
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Api(tags = "调用服务接口vo")
public class InvokeRequestVo {

    @ApiModelProperty("流程实例")
    private DelegateExecution processInstance;

    @ApiModelProperty("流程实例id")
    private String processInstanceId;

    @ApiModelProperty("类名")
    private String className;

    @ApiModelProperty("方法名")
    private String name;

    @ApiModelProperty("参数列表")
    private List<Parameter> params;
}
