From a052fb3f5624aac31b5997db83b92ca3f7d48a02 Mon Sep 17 00:00:00 2001 From: Lunix-420 Date: Mon, 28 Oct 2024 15:05:12 +0100 Subject: [PATCH] api: Add all repositories --- src/main/java/com/maradona/backend/entities/Project.java | 2 +- .../maradona/backend/repositories/EmployeeRepository.java | 7 +++++++ .../backend/repositories/FormOfAddressRepository.java | 7 +++++++ .../backend/repositories/PrimarySkillRepository.java | 7 +++++++ .../backend/repositories/ProjectAssignmentRepository.java | 7 +++++++ .../maradona/backend/repositories/ProjectRepository.java | 7 +++++++ .../backend/repositories/SecondarySkillRepository.java | 7 +++++++ .../backend/repositories/SkillAssignmentRepository.java | 7 +++++++ 8 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 src/main/java/com/maradona/backend/repositories/EmployeeRepository.java create mode 100644 src/main/java/com/maradona/backend/repositories/FormOfAddressRepository.java create mode 100644 src/main/java/com/maradona/backend/repositories/PrimarySkillRepository.java create mode 100644 src/main/java/com/maradona/backend/repositories/ProjectAssignmentRepository.java create mode 100644 src/main/java/com/maradona/backend/repositories/ProjectRepository.java create mode 100644 src/main/java/com/maradona/backend/repositories/SecondarySkillRepository.java create mode 100644 src/main/java/com/maradona/backend/repositories/SkillAssignmentRepository.java diff --git a/src/main/java/com/maradona/backend/entities/Project.java b/src/main/java/com/maradona/backend/entities/Project.java index 081dba6..c1efe3a 100644 --- a/src/main/java/com/maradona/backend/entities/Project.java +++ b/src/main/java/com/maradona/backend/entities/Project.java @@ -22,4 +22,4 @@ public class Project { @Column(columnDefinition = "TEXT") private String description; -} +} \ No newline at end of file diff --git a/src/main/java/com/maradona/backend/repositories/EmployeeRepository.java b/src/main/java/com/maradona/backend/repositories/EmployeeRepository.java new file mode 100644 index 0000000..6f951d4 --- /dev/null +++ b/src/main/java/com/maradona/backend/repositories/EmployeeRepository.java @@ -0,0 +1,7 @@ +package com.maradona.backend.repositories; + +import org.springframework.data.jpa.repository.JpaRepository; +import com.maradona.backend.entities.Employee; + +public interface EmployeeRepository extends JpaRepository { +} diff --git a/src/main/java/com/maradona/backend/repositories/FormOfAddressRepository.java b/src/main/java/com/maradona/backend/repositories/FormOfAddressRepository.java new file mode 100644 index 0000000..d4cf372 --- /dev/null +++ b/src/main/java/com/maradona/backend/repositories/FormOfAddressRepository.java @@ -0,0 +1,7 @@ +package com.maradona.backend.repositories; + +import org.springframework.data.jpa.repository.JpaRepository; +import com.maradona.backend.entities.FormOfAddress; + +public interface FormOfAddressRepository extends JpaRepository { +} diff --git a/src/main/java/com/maradona/backend/repositories/PrimarySkillRepository.java b/src/main/java/com/maradona/backend/repositories/PrimarySkillRepository.java new file mode 100644 index 0000000..4c9c14f --- /dev/null +++ b/src/main/java/com/maradona/backend/repositories/PrimarySkillRepository.java @@ -0,0 +1,7 @@ +package com.maradona.backend.repositories; + +import org.springframework.data.jpa.repository.JpaRepository; +import com.maradona.backend.entities.PrimarySkill; + +public interface PrimarySkillRepository extends JpaRepository { +} diff --git a/src/main/java/com/maradona/backend/repositories/ProjectAssignmentRepository.java b/src/main/java/com/maradona/backend/repositories/ProjectAssignmentRepository.java new file mode 100644 index 0000000..a988711 --- /dev/null +++ b/src/main/java/com/maradona/backend/repositories/ProjectAssignmentRepository.java @@ -0,0 +1,7 @@ +package com.maradona.backend.repositories; + +import org.springframework.data.jpa.repository.JpaRepository; +import com.maradona.backend.entities.ProjectAssignment; + +public interface ProjectAssignmentRepository extends JpaRepository { +} diff --git a/src/main/java/com/maradona/backend/repositories/ProjectRepository.java b/src/main/java/com/maradona/backend/repositories/ProjectRepository.java new file mode 100644 index 0000000..d5e4799 --- /dev/null +++ b/src/main/java/com/maradona/backend/repositories/ProjectRepository.java @@ -0,0 +1,7 @@ +package com.maradona.backend.repositories; + +import org.springframework.data.jpa.repository.JpaRepository; +import com.maradona.backend.entities.Project; + +public interface ProjectRepository extends JpaRepository { +} diff --git a/src/main/java/com/maradona/backend/repositories/SecondarySkillRepository.java b/src/main/java/com/maradona/backend/repositories/SecondarySkillRepository.java new file mode 100644 index 0000000..2ed193d --- /dev/null +++ b/src/main/java/com/maradona/backend/repositories/SecondarySkillRepository.java @@ -0,0 +1,7 @@ +package com.maradona.backend.repositories; + +import org.springframework.data.jpa.repository.JpaRepository; +import com.maradona.backend.entities.SecondarySkill; + +public interface SecondarySkillRepository extends JpaRepository { +} diff --git a/src/main/java/com/maradona/backend/repositories/SkillAssignmentRepository.java b/src/main/java/com/maradona/backend/repositories/SkillAssignmentRepository.java new file mode 100644 index 0000000..416ad9b --- /dev/null +++ b/src/main/java/com/maradona/backend/repositories/SkillAssignmentRepository.java @@ -0,0 +1,7 @@ +package com.maradona.backend.repositories; + +import org.springframework.data.jpa.repository.JpaRepository; +import com.maradona.backend.entities.SkillAssignment; + +public interface SkillAssignmentRepository extends JpaRepository { +}