package com.qprogramming.tasq.projects; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface ProjectRepository extends JpaRepository<Project, Integer> { Project findByNameIgnoreCase(String Name); Project findById(Long id); Project findByProjectId(String project_id); List<Project> findByParticipants_Id(Long id); }