Changeset 504c3ef for src/main/java/it/finki/tinki/repository
- Timestamp:
- 01/06/21 18:21:03 (4 years ago)
- Branches:
- master
- Children:
- 721cb87
- Parents:
- 7edede9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/it/finki/tinki/repository/TeamRepository.java
r7edede9 r504c3ef 5 5 import org.springframework.stereotype.Repository; 6 6 7 import java.util.Optional; 8 7 9 @Repository 8 10 public interface TeamRepository extends JpaRepository<Team, Long> { 9 11 Team findByEmailAndPassword(String email, String password); 12 Optional<Team> findByEmail(String email); 10 13 }
Note:
See TracChangeset
for help on using the changeset viewer.