31 lines
968 B
Plaintext
31 lines
968 B
Plaintext
|
/**
|
||
|
* Auto-generated from apibuilder.io service specification.
|
||
|
* apidoc-version : {{service.apidoc.version}}
|
||
|
* organisation : {{service.organization.key}}
|
||
|
* service-version : {{service.version}}
|
||
|
*
|
||
|
* Documentation at:
|
||
|
* <a href="https://app.apibuilder.io/{{service.organization.key}}/{{service.name}}/{{service.version}}">https://app.apibuilder.io/{{service.organization.key}}/{{service.name}}/{{service.version}}</a>
|
||
|
*
|
||
|
**/
|
||
|
package {{package}};
|
||
|
|
||
|
|
||
|
import lombok.NonNull;
|
||
|
import java.util.List;
|
||
|
|
||
|
{{#imports}}
|
||
|
import {{{.}}};
|
||
|
{{/imports}}
|
||
|
|
||
|
import org.springframework.data.domain.Pageable;
|
||
|
import org.springframework.data.repository.PagingAndSortingRepository;
|
||
|
|
||
|
public interface {{record_type}}Repository extends PagingAndSortingRepository<{{pkey_type.name}}, {{record_type}}> {
|
||
|
|
||
|
{{#indexes}}
|
||
|
List<{{record_type}}> findAllBy{{namePascalCase}}(@NonNull {{type.name}} {{name}}, Pageable pagination);
|
||
|
{{/indexes}}
|
||
|
|
||
|
}
|