We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10c2b51 commit f023e15Copy full SHA for f023e15
1 file changed
rentplace/src/main/java/kattsyn/dev/rentplace/services/PropertyService.java
@@ -3,6 +3,7 @@
3
import kattsyn.dev.rentplace.dtos.ImageDTO;
4
import kattsyn.dev.rentplace.dtos.PropertyCreateEditDTO;
5
import kattsyn.dev.rentplace.dtos.PropertyDTO;
6
+import kattsyn.dev.rentplace.dtos.filters.PropertyFilterDTO;
7
import kattsyn.dev.rentplace.entities.Property;
8
import org.springframework.web.multipart.MultipartFile;
9
@@ -18,6 +19,8 @@ public interface PropertyService {
18
19
20
List<PropertyDTO> findAllByOwnerEmail(String email);
21
22
+ List<PropertyDTO> findAllByFilter(PropertyFilterDTO filter);
23
+
24
PropertyDTO findById(long id);
25
26
Property getPropertyById(long id);
0 commit comments