/* * Copyright (c) 2023. yo-saito. All Rights Reserved. */ package net.piedpiper.bremer.repository import net.piedpiper.bremer.dao.UserDao import net.piedpiper.bremer.entity.UserEntity import org.springframework.beans.factory.annotation.Qualifier import org.springframework.stereotype.Repository @Repository("bremer.dao.UserRepository") class UserRepository( @Qualifier("bremer.dao.UserDao") private val userDao: UserDao ) { fun findOneByName(name: String): UserEntity? = userDao.findByName(name) }