/**
 * 部门查询参数
 */
export interface DeptQuery{
    deptName?: string;
    status?: number;
    orgTypes?: number[];
}

export interface DeptVoEntity  {
   enabled: boolean;
}

/**
 * 部门类型
 */
export interface DeptVO extends BaseEntity {
    id: number | string;
    parentName: string;
    parentId: number | string;
    children: DeptVO[];
    deptId: number | string;
    deptName: string;
    title?: string;
    orderNum: number;
    leader: string;
    phone: string;
    email: string;
    status: string;
    delFlag: string;
    ancestors: string;
    menuId: string | number;
    managerId?: number | string;
    leaderId?: number | string;
    type?: number | string;
    arg?: DeptVoEntity;
}

/**
 * 部门表单类型
 */
export interface DeptForm {
    parentName?: string;
    parentId?: number | string;
    children?: DeptForm[];
    deptId?: number | string;
    deptName?: string;
    orderNum?: number;
    leader?: string;
    phone?: string;
    email?: string;
    status?: string;
    delFlag?: string;
    ancestors?: string;
    leaderId?: number | string;
    managerId?: number | string;
    type?: number | string;
}
