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

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

Added functionalities

  • Property mode set to 100644
File size: 498 bytes
Line 
1package com.example.autopartz.repository;
2
3import com.example.autopartz.model.manytomany.OrderContainsPart;
4import com.example.autopartz.model.manytomany.OrderContainsPartId;
5import org.springframework.data.jpa.repository.JpaRepository;
6import org.springframework.stereotype.Repository;
7
8import java.util.List;
9
10@Repository
11public interface OrderContainsPartRepository extends JpaRepository<OrderContainsPart, OrderContainsPartId> {
12 List<OrderContainsPart> findAllByOrderid(Integer orderid);
13}
Note: See TracBrowser for help on using the repository browser.