package com.zsElectric.boot.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zsElectric.boot.business.model.entity.UserAccount;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zsElectric.boot.business.model.query.UserAccountQuery;
import com.zsElectric.boot.business.model.vo.UserAccountVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 个人账户Mapper接口
 *
 * @author zsElectric
 * @since 2025-12-12 10:20
 */
@Mapper
public interface UserAccountMapper extends BaseMapper<UserAccount> {

    /**
     * 获取个人账户分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<UserAccountVO>} 个人账户分页列表
     */
    Page<UserAccountVO> getUserAccountPage(Page<UserAccountVO> page, UserAccountQuery queryParams);

}
