@ -5,7 +5,7 @@ import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity // This tells Hibernate to make a table out of this class
@Entity
public class Person {
@Id
@GeneratedValue(strategy=GenerationType.AUTO)
@ -4,9 +4,6 @@ import org.springframework.data.repository.CrudRepository;
import com.generalassembly.contacts.Person;
// This will be AUTO IMPLEMENTED by Spring into a Bean called userRepository
// CRUD refers Create, Read, Update, Delete
public interface PersonRepository extends CrudRepository<Person, Integer> {
}