package tech.easyflow.approval.entity.vo;

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

/**
 * 审批实例分页项。
 */
public class ApprovalInstancePageVo {

    private BigInteger id;

    private String resourceType;

    private BigInteger resourceId;

    private String actionType;

    private String status;

    private Integer currentStepNo;

    private String currentStepName;

    private String summary;

    private BigInteger applicantId;

    private Date submittedAt;

    private Date finishedAt;

    private boolean canApprove;

    private boolean canReject;

    private boolean canRevoke;

    public BigInteger getId() {
        return id;
    }

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

    public String getResourceType() {
        return resourceType;
    }

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

    public BigInteger getResourceId() {
        return resourceId;
    }

    public void setResourceId(BigInteger resourceId) {
        this.resourceId = resourceId;
    }

    public String getActionType() {
        return actionType;
    }

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

    public String getStatus() {
        return status;
    }

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

    public Integer getCurrentStepNo() {
        return currentStepNo;
    }

    public void setCurrentStepNo(Integer currentStepNo) {
        this.currentStepNo = currentStepNo;
    }

    public String getCurrentStepName() {
        return currentStepName;
    }

    public void setCurrentStepName(String currentStepName) {
        this.currentStepName = currentStepName;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public BigInteger getApplicantId() {
        return applicantId;
    }

    public void setApplicantId(BigInteger applicantId) {
        this.applicantId = applicantId;
    }

    public Date getSubmittedAt() {
        return submittedAt;
    }

    public void setSubmittedAt(Date submittedAt) {
        this.submittedAt = submittedAt;
    }

    public Date getFinishedAt() {
        return finishedAt;
    }

    public void setFinishedAt(Date finishedAt) {
        this.finishedAt = finishedAt;
    }

    public boolean isCanApprove() {
        return canApprove;
    }

    public void setCanApprove(boolean canApprove) {
        this.canApprove = canApprove;
    }

    public boolean isCanReject() {
        return canReject;
    }

    public void setCanReject(boolean canReject) {
        this.canReject = canReject;
    }

    public boolean isCanRevoke() {
        return canRevoke;
    }

    public void setCanRevoke(boolean canRevoke) {
        this.canRevoke = canRevoke;
    }
}
