Changeset 14b648e for src/main/java/it/finki/tinki/repository
- Timestamp:
- 01/08/21 20:46:33 (4 years ago)
- Branches:
- master
- Children:
- bd38a55
- Parents:
- 31fc5c8
- Location:
- src/main/java/it/finki/tinki/repository
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/it/finki/tinki/repository/CompanyRepository.java
r31fc5c8 r14b648e 10 10 public interface CompanyRepository extends JpaRepository<Company, Long> { 11 11 Company findByEmailAndPassword(String email, String password); 12 Optional<Object> findByEmail(String email); 12 Optional<Company> findByEmail(String email); 13 Optional<Company> findByIdAndEmail(Long id, String email); 13 14 } -
src/main/java/it/finki/tinki/repository/TeamRepository.java
r31fc5c8 r14b648e 1 1 package it.finki.tinki.repository; 2 2 3 import it.finki.tinki.model.Users.Company; 3 4 import it.finki.tinki.model.Users.Team; 4 5 import org.springframework.data.jpa.repository.JpaRepository; … … 11 12 Team findByEmailAndPassword(String email, String password); 12 13 Optional<Team> findByEmail(String email); 14 Optional<Team> findByIdAndEmail(Long id, String email); 13 15 } -
src/main/java/it/finki/tinki/repository/UserRepository.java
r31fc5c8 r14b648e 11 11 User findByEmailAndPassword(String email, String password); 12 12 Optional<User> findByEmail(String email); 13 Optional<User> findByIdAndEmail(Long id, String email); 13 14 }
Note:
See TracChangeset
for help on using the changeset viewer.