by.bsuir.finance.repositories.contract.CompanyRepository.java Source code

Java tutorial

Introduction

Here is the source code for by.bsuir.finance.repositories.contract.CompanyRepository.java

Source

/*
 * 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 by.bsuir.finance.repositories.contract;

import by.bsuir.finance.domain.Company;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 *
 * @author igor
 */
public interface CompanyRepository extends JpaRepository<Company, Integer> {
    public List<Company> findByIdCompany(int idCompany);
}