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

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

Profiles for user and worker

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