cz.sohlich.workstack.repository.UserRepository.java Source code

Java tutorial

Introduction

Here is the source code for cz.sohlich.workstack.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 cz.sohlich.workstack.repository;

import cz.sohlich.workstack.domain.User;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 *
 * @author radek
 */
public interface UserRepository extends MongoRepository<User, String> {
    public User findByUsername(String username);
}