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