Backend/src/main/java/com/team1/tm/bantutani/app/repository/UserRepo.java
package com.team1.tm.bantutani.app.repository;

import com.team1.tm.bantutani.app.model.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface UserRepo extends JpaRepository<User, Long> {
    public Optional<User> findByUsername(String username);
}
