Showing
1 changed file
with
0 additions
and
8 deletions
1 | -package com.esboot.bertsearch.repository; | ||
2 | - | ||
3 | -import com.esboot.bertsearch.dto.Phone; | ||
4 | -import org.springframework.data.elasticsearch.repository.ElasticsearchRepository; | ||
5 | - | ||
6 | -public interface PhoneRepository extends ElasticsearchRepository<Phone, String> { // DTO, PK | ||
7 | - Iterable<Phone> findByModel(String model); | ||
8 | -} |
-
Please register or login to post a comment