source: src/main/java/com/example/autopartz/repository/ReviewRepository.java

main
Last change on this file was d4b888e, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 23 months ago

Added full functionality for adding review

  • Property mode set to 100644
File size: 308 bytes
Line 
1package com.example.autopartz.repository;
2
3import com.example.autopartz.model.Repair;
4import com.example.autopartz.model.Review;
5import org.springframework.data.jpa.repository.JpaRepository;
6
7public interface ReviewRepository extends JpaRepository<Review,Integer> {
8 Review findByRepair(Repair repair);
9}
Note: See TracBrowser for help on using the repository browser.