DetteRepository.java 461 Bytes
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package fr.plil.sio.web.mvc;

import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;

public interface DetteRepository  extends JpaRepository<Dette,Long>{
    Dette findById(Long id);
    List<Dette> findByBorrower(User borrower);
            
}