

    // 账号
declare namespace account {
    type base_dto = {
        id?: string | null | undefined;
        /**
         * 
         * @type {string}
         * @memberof Account
         */
        account?: string | null;
        /**
         * 
         * @type {string}
         * @memberof Account
         */
        pwd: string
        /**
         * 
         * @type {string}
         * @memberof Account
         */
        tB_Employee_Id?: string | null;
    }
    type updatePwdInput = {
        /**
         * 
         * @type {string}
         * @memberof Account
         */
        tB_Employee_Id: string;
        /**
         * 
         * @type {string}
         * @memberof Account
         */
        oldPwd: string;
        /**
         * 
         * @type {string}
         * @memberof Account
         */
        newPwd: string;
    }
    interface queryPage {
        pageIndex:number,
		pageSize:number
        account:string
    }
}
    // 模块类型
declare namespace moduleTypes {

	type ModuleType = {
		category: number,
		openType: number,
		parentId: string,
		name: string,
		icon: string,
		url: string,
		sort: number,
		isDisabled: boolean,
		id: string,
		children: ModuleType[]
	}
	
}
    // 角色类型
declare namespace RolelTypes {

	type RoleType = {
		id?: string,
		name: string,
		description: string
	}

	type RolePageParams = {
		keyword: string,
		sortName: string,
		sortByAsc: boolean,
		pageIndex: number,
		pageSize: number
	}
}
//人员
declare namespace UserTypes {
    // 登录参数类型
    type LoginParams = {
        account: string,
        pwd: string
    }

    //人员数据类型
    type PersonnelType = {
        account?:string|null
       /**
     * 
     * @type {string}
     * @memberof TBEmployeeDTO
     */
    id?: string | null;
    /**
     * 排序
     * @type {number}
     * @memberof TBEmployeeDTO
     */
    sort?: number;
    /**
     * 员工姓名
     * @type {string}
     * @memberof TBEmployeeDTO
     */
    name?: string | null;
    /**
     * 1男2女
     * @type {number}
     * @memberof TBEmployeeDTO
     */
    gender?: number;
    
    /**
     * 1在职2出差3离职
     * @type {number}
     * @memberof TBEmployeeDTO
     */
    status?: number;
    /**
     * 角色Id
     * @type {string}
     * @memberof TBEmployeeDTO
     */
    roleId?: string | null;

    isAccount?: null | boolean ;
    }

    //人员分页查询参数
    type UserPageParams = {
        name: string,
        status: number?,
        pageIndex: number,
        pageSize: number,
        gender: number?,
    }
}