package com.fsd.hellovelo.repository;

import com.fsd.hellovelo.entity.ERole;
import java.util.Optional;
import com.fsd.hellovelo.entity.Role;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface RoleRepository extends JpaRepository<Role, Long> {
    Optional<Role> findByName(ERole name);
}
