Changeset 7987457
- Timestamp:
- 01/03/21 17:11:36 (4 years ago)
- Branches:
- master
- Children:
- efdb71a
- Parents:
- bfa113e
- Location:
- src/main/java/it/finki/tinki
- Files:
-
- 8 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/it/finki/tinki/controller/TestController.java
rbfa113e r7987457 6 6 import it.finki.tinki.model.Jobs.Work; 7 7 import it.finki.tinki.model.Skill; 8 import it.finki.tinki.repository.JobRepository; 8 9 import org.springframework.web.bind.annotation.GetMapping; 9 10 import org.springframework.web.bind.annotation.RequestMapping; … … 16 17 @RequestMapping("/") 17 18 public class TestController { 19 20 JobRepository jobRepository; 21 22 public TestController(JobRepository jobRepository) { 23 this.jobRepository = jobRepository; 24 } 18 25 19 26 @GetMapping -
src/main/java/it/finki/tinki/repository/InternshipRepository.java
rbfa113e r7987457 4 4 import it.finki.tinki.model.Jobs.Work; 5 5 import org.springframework.data.jpa.repository.JpaRepository; 6 import org.springframework.stereotype.Repository; 6 7 7 8 import java.util.List; 8 9 10 @Repository 9 11 public interface InternshipRepository extends JpaRepository<Internship, Long> { 10 12 List<Internship> findAllByAccount_Id(Long accountId);
Note:
See TracChangeset
for help on using the changeset viewer.