Created
January 21, 2017 21:34
-
-
Save arthurportas/ce707c1ae0a92e5ee12d18a11047c7ad to your computer and use it in GitHub Desktop.
User document Spring-data-mongodb repository
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.arthurportas.mongodb.example.repository; | |
import com.arthurportas.mongodb.example.domain.User; | |
import org.springframework.data.mongodb.repository.MongoRepository; | |
import org.springframework.stereotype.Repository; | |
/** | |
* Created by arthurportas on 21/01/2017. | |
*/ | |
@Repository | |
public interface UserRepository extends MongoRepository<User, String>{ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment