We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c8dfc7 commit d1e6b59Copy full SHA for d1e6b59
1 file changed
rentplace/src/main/java/kattsyn/dev/rentplace/enums/SortType.java
@@ -0,0 +1,19 @@
1
+package kattsyn.dev.rentplace.enums;
2
+
3
+import io.swagger.v3.oas.annotations.media.Schema;
4
5
+@Schema(
6
+ description = "Тип сортировки объявлений"
7
+)
8
+public enum SortType {
9
10
+ @Schema(name = "Сначала новые")
11
+ MOST_RECENT,
12
+ @Schema(name = "Сначала старые")
13
+ MOST_OLD,
14
+ @Schema(name = "Сначала дорогие, убывание по цене")
15
+ MOST_EXPENSIVE,
16
+ @Schema(name = "Сначала дешевые, возрастание по цене")
17
+ MOST_CHEAP
18
19
+}
0 commit comments