package com.m2pool.lease.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.m2pool.common.datasource.annotation.GAuth;
import com.m2pool.lease.entity.GoogleInfo;
import com.m2pool.lease.entity.LeaseUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author yyb
 * @since 2025-07-23
 */
@Mapper
public interface LeaseUserMapper extends BaseMapper<LeaseUser> {
    @GAuth
    public GoogleInfo getGoogleInfoByEmail(@Param("email") String email);
}
