Skip to content

Instantly share code, notes, and snippets.

@maneeshaindrachapa
Last active February 18, 2022 10:48
Show Gist options
  • Save maneeshaindrachapa/7cff46d5fa9eb49330c7f5a99947d2ab to your computer and use it in GitHub Desktop.
Save maneeshaindrachapa/7cff46d5fa9eb49330c7f5a99947d2ab to your computer and use it in GitHub Desktop.
TourRepository - Tour California Application
package com.explore.california.repository;
import com.explore.california.model.Tour;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
import org.springframework.stereotype.Repository;
@RepositoryRestResource
@Repository
public interface TourRepository extends CrudRepository<Tour, Integer> {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment