package com.storlead.user.pojo.dto;

import com.storlead.framework.mybatis.page.Page;
import lombok.Data;

import java.util.Arrays;
import java.util.List;

/**
 * @program: sp-cloud
 * @description:
 * @author: chenkq
 * @create: 2022-05-13 14:20
 */
@Data
public class DepartmentParam extends Page {

    /**
     * 类型:10 集团,20:公司(分公司),30:部门,40:小组,50:雇员
     */
    private List<Integer> orgTypes;

    private Integer reviewTag;

    /**
     * 上级id
     */
    private Long parentId;

    /**
     * 可选节点类型
     */
    private List<Integer> checkNodes = Arrays.asList(10,20,30,40,99);

    /**
     * 公司id
     */
    private Long subCompanyId;

    /**
     * 部门id
     */
    private Long deptId;

    private String scopeMenuId;

    private Integer enabled = 1;
}
