package tech.easyflow.approval.entity.vo;

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

/**
 * 审批流程步骤项。
 */
public class ApprovalFlowStepVo {

    private BigInteger id;

    private Integer stepNo;

    private String stepName;

    private String assigneeType;

    private BigInteger assigneeTargetId;

    private String assigneeTargetCode;

    private String assigneeTargetName;

    private List<ApprovalAssigneeTargetVo> assigneeTargets;

    /**
     * 是否限定发起人直属部门。
     */
    private Integer restrictToApplicantDept;

    public BigInteger getId() {
        return id;
    }

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

    public Integer getStepNo() {
        return stepNo;
    }

    public void setStepNo(Integer stepNo) {
        this.stepNo = stepNo;
    }

    public String getStepName() {
        return stepName;
    }

    public void setStepName(String stepName) {
        this.stepName = stepName;
    }

    public String getAssigneeType() {
        return assigneeType;
    }

    public void setAssigneeType(String assigneeType) {
        this.assigneeType = assigneeType;
    }

    public BigInteger getAssigneeTargetId() {
        return assigneeTargetId;
    }

    public void setAssigneeTargetId(BigInteger assigneeTargetId) {
        this.assigneeTargetId = assigneeTargetId;
    }

    public String getAssigneeTargetCode() {
        return assigneeTargetCode;
    }

    public void setAssigneeTargetCode(String assigneeTargetCode) {
        this.assigneeTargetCode = assigneeTargetCode;
    }

    public String getAssigneeTargetName() {
        return assigneeTargetName;
    }

    public void setAssigneeTargetName(String assigneeTargetName) {
        this.assigneeTargetName = assigneeTargetName;
    }

    /**
     * 获取审批对象列表。
     *
     * @return 审批对象列表
     */
    public List<ApprovalAssigneeTargetVo> getAssigneeTargets() {
        return assigneeTargets;
    }

    /**
     * 设置审批对象列表。
     *
     * @param assigneeTargets 审批对象列表
     */
    public void setAssigneeTargets(List<ApprovalAssigneeTargetVo> assigneeTargets) {
        this.assigneeTargets = assigneeTargets;
    }

    /**
     * 获取发起人部门限制标记。
     *
     * @return 1 表示限制，0 表示不限制
     */
    public Integer getRestrictToApplicantDept() {
        return restrictToApplicantDept;
    }

    /**
     * 设置发起人部门限制标记。
     *
     * @param restrictToApplicantDept 限制标记
     */
    public void setRestrictToApplicantDept(Integer restrictToApplicantDept) {
        this.restrictToApplicantDept = restrictToApplicantDept;
    }
}
