package com.zsElectric.boot.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zsElectric.boot.business.model.entity.UserFirm;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zsElectric.boot.business.model.query.UserFirmQuery;
import com.zsElectric.boot.business.model.vo.UserFirmVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 企业与用户关系Mapper接口
 *
 * @author zsElectric
 * @since 2025-12-12 10:29
 */
@Mapper
public interface UserFirmMapper extends BaseMapper<UserFirm> {

    /**
     * 获取企业与用户关系分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<UserFirmVO>} 企业与用户关系分页列表
     */
    Page<UserFirmVO> getUserFirmPage(Page<UserFirmVO> page,@Param("queryParams") UserFirmQuery queryParams);

}
