package cn.stylefeng.workflow.api.pojo.config.node.approver;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import cn.stylefeng.workflow.api.pojo.config.node.approver.detail.*;
import lombok.Data;

import java.util.List;

@Data
public class ApproverSummary {

    @ChineseDescription("用户列表")
    private List<NodeApproverPerson> nodeApproverPersonList;

    @ChineseDescription("部门列表")
    private List<NodeApproverPolicy> nodeApproverPolicyList;

    @ChineseDescription("岗位列表")
    private List<NodeApproverPosition> nodeApproverPositionList;

    @ChineseDescription("角色列表")
    private List<NodeApproverRole> nodeApproverRoleList;

    @ChineseDescription("自定义表单中的获取的配置")
    private List<NodeApproverForm> nodeApproverFormList;

    @ChineseDescription("自定义规则方式")
    private NodeApproverCustom nodeApproverCustom;

    @ChineseDescription("审批人类型：10-从组织机构库中获取，20-表单中获取，30-流程变量中获取，40-发起人自己，50-自定义规则，60-自由选择")
    private Integer approverType;

    @ChineseDescription("是否是发起人自己")
    private Boolean submitterSelfFlag = false;

    @ChineseDescription("自定义变量中获取的审批人配置")
    private List<NodeApproverVariable> nodeApproverVariableList;

}
