api: Add all repositories

pull/1/head
Lunix-420 2024-10-28 15:05:12 +01:00
parent 33266348f0
commit a052fb3f56
8 changed files with 50 additions and 1 deletions

View File

@ -22,4 +22,4 @@ public class Project {
@Column(columnDefinition = "TEXT") @Column(columnDefinition = "TEXT")
private String description; private String description;
} }

View File

@ -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<Employee, Long> {
}

View File

@ -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<FormOfAddress, Long> {
}

View File

@ -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<PrimarySkill, Long> {
}

View File

@ -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<ProjectAssignment, Long> {
}

View File

@ -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<Project, Long> {
}

View File

@ -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<SecondarySkill, Long> {
}

View File

@ -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<SkillAssignment, Long> {
}