View Javadoc
1   /*
2    * Copyright (C) 2024 B3Partners B.V.
3    *
4    * SPDX-License-Identifier: MIT
5    */
6   
7   package org.tailormap.api.repository;
8   
9   import org.springframework.data.jpa.repository.JpaRepository;
10  import org.springframework.data.rest.core.annotation.RepositoryRestResource;
11  import org.tailormap.api.persistence.Form;
12  
13  @RepositoryRestResource(path = "forms", collectionResourceRel = "forms", itemResourceRel = "form")
14  public interface FormRepository extends JpaRepository<Form, Long> {}