package top.continew.admin.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import top.continew.admin.business.model.entity.TgUser;
import top.continew.admin.business.model.req.TgUserReq;

import java.util.List;

/**
 * <p>
 * tg用户 Mapper 接口
 * </p>
 *
 * @author xudm
 * @since 2024-12-14
 */
public interface TgUserMapper extends BaseMapper<TgUser> {

    List<TgUser> getTgUserOfPage(@Param("query") TgUserReq query, Page page);
}
