source: src/main/java/com/example/autopartz/repository/RepairShopReviewSummaryRepository.java@ 2e46f06

main
Last change on this file since 2e46f06 was 2e46f06, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 19 months ago

Adding the models and testing one view

  • Property mode set to 100644
File size: 589 bytes
Line 
1package com.example.autopartz.repository;
2
3import com.example.autopartz.model.RepairShopReviewsSummary;
4import jakarta.transaction.Transactional;
5import org.springframework.data.jpa.repository.JpaRepository;
6import org.springframework.stereotype.Repository;
7
8import java.util.List;
9
10// извештај за сите сервиси и за сите број на reviews и avg рејтинг
11@Repository
12@Transactional
13public interface RepairShopReviewSummaryRepository extends JpaRepository<RepairShopReviewsSummary,Long> {
14 List<RepairShopReviewsSummary> findAllByRsid(Long rsid);
15}
Note: See TracBrowser for help on using the repository browser.