Blame view

src/main/java/etunicorn/PersonneRepository.java 331 Bytes
790d94b4   Geoffrey PREUD'HOMME   Base de donnĂ©es, ...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  package etunicorn;
  
  import org.springframework.data.repository.CrudRepository;
  
  import java.math.BigDecimal;
  import java.util.List;
  
  /**
   * Created by geoffrey on 29/01/17.
   */
  public interface PersonneRepository extends CrudRepository<Personne, Long> {
      Personne findByLogin(String login);
      Personne findById(Integer id);
  }