PersonneRepository.java 331 Bytes
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);
}