CustomerRepository.java 425 Bytes
package com.PFE.ServerManager;

import org.springframework.data.repository.CrudRepository;

// This will be AUTO IMPLEMENTED by Spring into a Bean called userRepository
// CRUD refers Create, Read, Update, Delete

//This class allows the JPA to know that the Customer class is a table
//Need to check if "extends JpaRepository is more useful"
public interface CustomerRepository extends CrudRepository<Customer, Integer> {

}