source: src/main/java/com/example/moviezone/repository/CustomerRepository.java

Last change on this file was 01a1ca6, checked in by DenicaKj <dkorvezir@…>, 21 months ago

added authorization

  • Property mode set to 100644
File size: 338 bytes
Line 
1package com.example.moviezone.repository;
2
3import com.example.moviezone.model.Customer;
4import org.springframework.data.jpa.repository.JpaRepository;
5import org.springframework.stereotype.Repository;
6
7@Repository
8public interface CustomerRepository extends JpaRepository<Customer,Integer> {
9 Customer getByUsername(String username);
10}
Note: See TracBrowser for help on using the repository browser.