package cn.edu.tju.se.auth.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import cn.edu.tju.se.auth.domain.User;

@Repository
public interface UserRepository extends JpaRepository<User, Long>{
	public User findByUsername(final String username);
	public User findByEmail(String email);
	public User findByPhone(String phone);
}
