package com.shadow.repository;

import com.shadow.domain.User;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by qq65827 on 2015/1/26.
 */
@Repository
public interface UserRepository extends MyCustomRepository<User,Long> {


    public User findByUsername(String username);

    public List<User> findAll();


}
