Skip to content

Commit

Permalink
Merge pull request #27 from UdL-EPS-SoftArch/Role-Relation
Browse files Browse the repository at this point in the history
RoleRepository.java created
  • Loading branch information
rogargon authored Mar 8, 2024
2 parents 5e90f43 + e9fe3d9 commit 49c2da0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,12 @@
<artifactId>jackson-annotations</artifactId>
<version>2.15.3</version>
</dependency>
</dependencies>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons</artifactId>
<version>3.2.2</version>
</dependency>
</dependencies>

<build>
<plugins>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package cat.udl.eps.softarch.demo.repository;

import cat.udl.eps.softarch.demo.domain.Pet;
import cat.udl.eps.softarch.demo.domain.Role;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

@RepositoryRestResource
public interface RoleRepository extends CrudRepository<Role, Long>, PagingAndSortingRepository<Role, Long> {
}

0 comments on commit 49c2da0

Please sign in to comment.