package tech.easyflow.approval.entity.vo;

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 审批流程详情。
 */
public class ApprovalFlowDetailVo {

    private BigInteger id;

    private String name;

    private String resourceType;

    private String actionType;

    private Integer priority;

    private String status;

    private Integer version;

    private String remark;

    private Date created;

    private Date modified;

    private boolean deletable;

    private long pendingInstanceCount;

    private List<ApprovalFlowScopeVo> scopes = new ArrayList<>();

    private List<ApprovalFlowStepVo> steps = new ArrayList<>();

    public BigInteger getId() {
        return id;
    }

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

    public String getName() {
        return name;
    }

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

    public String getResourceType() {
        return resourceType;
    }

    public void setResourceType(String resourceType) {
        this.resourceType = resourceType;
    }

    public String getActionType() {
        return actionType;
    }

    public void setActionType(String actionType) {
        this.actionType = actionType;
    }

    public Integer getPriority() {
        return priority;
    }

    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getModified() {
        return modified;
    }

    public void setModified(Date modified) {
        this.modified = modified;
    }

    public boolean isDeletable() {
        return deletable;
    }

    public void setDeletable(boolean deletable) {
        this.deletable = deletable;
    }

    public long getPendingInstanceCount() {
        return pendingInstanceCount;
    }

    public void setPendingInstanceCount(long pendingInstanceCount) {
        this.pendingInstanceCount = pendingInstanceCount;
    }

    public List<ApprovalFlowScopeVo> getScopes() {
        return scopes;
    }

    public void setScopes(List<ApprovalFlowScopeVo> scopes) {
        this.scopes = scopes;
    }

    public List<ApprovalFlowStepVo> getSteps() {
        return steps;
    }

    public void setSteps(List<ApprovalFlowStepVo> steps) {
        this.steps = steps;
    }
}
