Ignore:
Timestamp:
01/06/21 20:48:58 (4 years ago)
Author:
i-ina <76742075+i-ina@…>
Branches:
master
Children:
4a15c9c
Parents:
504c3ef
Message:

register company

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/it/finki/tinki/repository/CompanyRepository.java

    r504c3ef r721cb87  
    55import org.springframework.stereotype.Repository;
    66
     7import java.util.Optional;
     8
    79@Repository
    810public interface CompanyRepository extends JpaRepository<Company, Long> {
    911    Company findByEmailAndPassword(String email, String password);
     12    Optional<Object> findByEmail(String email);
    1013}
Note: See TracChangeset for help on using the changeset viewer.