com.tlantic.integration.authentication.repository.UserRepository.java Source code

Java tutorial

Introduction

Here is the source code for com.tlantic.integration.authentication.repository.UserRepository.java

Source

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tlantic.integration.authentication.repository;

import com.tlantic.integration.authentication.model.User;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.io.Serializable;

public interface UserRepository extends MongoRepository<User, Serializable> {

    public User findByEmail(String email);

}