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

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

Configured spring security, changed spring version

  • Property mode set to 100644
File size: 329 bytes
Line 
1package com.example.autopartz.repository;
2
3import com.example.autopartz.model.Part;
4import com.example.autopartz.model.Price;
5import org.springframework.data.jpa.repository.JpaRepository;
6
7import java.util.List;
8
9public interface PriceRepository extends JpaRepository<Price,Integer> {
10 List<Price> findAllByPart(Part part);
11}
Note: See TracBrowser for help on using the repository browser.