source: src/main/java/com/example/autopartz/repository/PartsForCarTypeAndCategoryRepository.java@ 23a2bc5

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

Added some views and tested them

  • Property mode set to 100644
File size: 524 bytes
Line 
1package com.example.autopartz.repository;
2
3import com.example.autopartz.model.PartsForCarTypeAndCategory;
4import jakarta.transaction.Transactional;
5import org.springframework.data.jpa.repository.JpaRepository;
6import org.springframework.stereotype.Repository;
7
8import java.util.List;
9
10@Repository
11@Transactional
12public interface PartsForCarTypeAndCategoryRepository extends JpaRepository<PartsForCarTypeAndCategory,Long> {
13 List<PartsForCarTypeAndCategory> findAllByCartypeAndCategory(String cartype, String category);
14}
Note: See TracBrowser for help on using the repository browser.