package com.chinaweal.aiccs.aiccs.business.rules.model;

/**
 * @author <a href="https://blog.lroyia.top">lroyia</a>
 * @since 2021/1/29 16:37
 **/
public class SequenceFlowModel {
    private String id;
    private String name;
    private String description;
    private NodeModel fromNode;
    private NodeModel nextNode;
    private String[] needNodes;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public NodeModel getFromNode() {
        return fromNode;
    }

    public void setFromNode(NodeModel fromNode) {
        this.fromNode = fromNode;
    }

    public NodeModel getNextNode() {
        return nextNode;
    }

    public void setNextNode(NodeModel nextNode) {
        this.nextNode = nextNode;
    }

    public String[] getNeedNodes() {
        return needNodes == null ? null : needNodes.clone();
    }

    public void setNeedNodes(String[] needNodes) {
        this.needNodes = needNodes == null ? null : needNodes.clone();
    }
}
