package cn.fateverse.workflow.entity.vo;

import cn.fateverse.workflow.entity.bpmn.FormItem;
import cn.fateverse.workflow.entity.bpmn.ProcessNode;
import cn.fateverse.workflow.entity.bpmn.UserInfo;
import com.alibaba.fastjson2.JSONObject;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * 流程任务详细信息返回实体
 *
 * @author Clay
 * @date 2023/1/24
 */
@Data
@Builder
public class ProcessInstanceDetailVo {

    //表单数据
    private List<FormItem> formItems;
    //表单数据
    private JSONObject formData;
    //用户自选数据信息
    private JSONObject optionalUser;
    //用户信息
    private UserInfo userInfo;
    //流程数据
    private List<ProcessNode> process;
    //运行中的节点
    private List<String> runningList;
    //拒绝的节点
    private List<String> refuseList;
    //被pass的节点列表
    private List<String> passList;
    //结束的节点
    private List<String> endList;
    //还没有激活的节点
    private List<String> noTakeList;
    //操作历史
    private List<HistoricalOperationVo> operationList;


}
