package com.yunzhupaas.engine.model.flowtask;

import com.yunzhupaas.engine.entity.FlowTaskEntity;
import com.yunzhupaas.engine.entity.FlowTaskNodeEntity;
import com.yunzhupaas.engine.entity.FlowTaskOperatorEntity;
import com.yunzhupaas.engine.model.flowengine.shuntjson.nodejson.ChildNodeList;
import com.yunzhupaas.engine.model.flowtask.method.TaskOperatoUser;
import com.yunzhupaas.permission.entity.UserEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ：云筑产品开发平台组
 * @version: V3.1.0
 * @copyright 深圳市乐程软件有限公司
 * @date ：2022/4/25 13:57
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class FlowAgreeRuleModel {
    private List<FlowTaskOperatorEntity> operatorListAll = new ArrayList<>();
    private TaskOperatoUser taskOperatoUser;
    private FlowTaskEntity flowTask;
    private Boolean reject = false;
    private List<UserEntity> userName = new ArrayList<>();
    private ChildNodeList childNode;
    private List<FlowTaskNodeEntity> taskNodeList = new ArrayList<>();
}

