package com.github.cupteam.watershop.respositories;

import com.github.cupteam.watershop.entities.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by IntelliJ IDEA.
 * UserInfo: Jeremy Fang
 * Date: 2016/6/9.
 */
public interface UserInfoRepository extends JpaRepository<UserInfo,Long>{

    /**通过username查找用户信息;*/
    public UserInfo findByUsername(String username);
}
