refactor: Update repository interfaces to use CrudRepository
parent
243738bd34
commit
1f45622f3b
|
@ -1,7 +1,7 @@
|
|||
package com.maradona.backend.repositories;
|
||||
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.repository.CrudRepository;
|
||||
import com.maradona.backend.entities.Employee;
|
||||
|
||||
public interface EmployeeRepository extends JpaRepository<Employee, Long> {
|
||||
public interface EmployeeRepository extends CrudRepository<Employee, Long> {
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package com.maradona.backend.repositories;
|
||||
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.repository.CrudRepository;
|
||||
import com.maradona.backend.entities.FormOfAddress;
|
||||
|
||||
public interface FormOfAddressRepository extends JpaRepository<FormOfAddress, Long> {
|
||||
public interface FormOfAddressRepository extends CrudRepository<FormOfAddress, Long> {
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package com.maradona.backend.repositories;
|
||||
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.repository.CrudRepository;
|
||||
import com.maradona.backend.entities.PrimarySkill;
|
||||
|
||||
public interface PrimarySkillRepository extends JpaRepository<PrimarySkill, Long> {
|
||||
public interface PrimarySkillRepository extends CrudRepository<PrimarySkill, Long> {
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package com.maradona.backend.repositories;
|
||||
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.repository.CrudRepository;
|
||||
import com.maradona.backend.entities.ProjectAssignment;
|
||||
|
||||
public interface ProjectAssignmentRepository extends JpaRepository<ProjectAssignment, Long> {
|
||||
public interface ProjectAssignmentRepository extends CrudRepository<ProjectAssignment, Long> {
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package com.maradona.backend.repositories;
|
||||
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.repository.CrudRepository;
|
||||
import com.maradona.backend.entities.Project;
|
||||
|
||||
public interface ProjectRepository extends JpaRepository<Project, Long> {
|
||||
public interface ProjectRepository extends CrudRepository<Project, Long> {
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package com.maradona.backend.repositories;
|
||||
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.repository.CrudRepository;
|
||||
import com.maradona.backend.entities.SecondarySkill;
|
||||
|
||||
public interface SecondarySkillRepository extends JpaRepository<SecondarySkill, Long> {
|
||||
public interface SecondarySkillRepository extends CrudRepository<SecondarySkill, Long> {
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package com.maradona.backend.repositories;
|
||||
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.repository.CrudRepository;
|
||||
import com.maradona.backend.entities.SkillAssignment;
|
||||
|
||||
public interface SkillAssignmentRepository extends JpaRepository<SkillAssignment, Long> {
|
||||
public interface SkillAssignmentRepository extends CrudRepository<SkillAssignment, Long> {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue