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 | |
---|
1 | package com.example.moviezone.repository;
|
---|
2 |
|
---|
3 | import com.example.moviezone.model.Customer;
|
---|
4 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
5 | import org.springframework.stereotype.Repository;
|
---|
6 |
|
---|
7 | @Repository
|
---|
8 | public interface CustomerRepository extends JpaRepository<Customer,Integer> {
|
---|
9 | Customer getByUsername(String username);
|
---|
10 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.