mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-08 11:47:36 +00:00
検索オブジェクト作成 WIP
This commit is contained in:
2 files changed
+23
No files matched your search
@@ -0,0 +1,6 @@
|
|||||||
|
package one.nem.lacerta.model.search;
|
||||||
|
|
||||||
|
public class SearchRequest {
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
@@ -1,4 +1,21 @@
|
|||||||
package one.nem.lacerta.model.search;
|
package one.nem.lacerta.model.search;
|
||||||
|
|
||||||
public enum SearchType {
|
public enum SearchType {
|
||||||
|
|
||||||
|
TITLE("title"),
|
||||||
|
DESCRIPTION("description"),
|
||||||
|
TAG("tag"),
|
||||||
|
PATH("path"),
|
||||||
|
CONTENT("content");
|
||||||
|
|
||||||
|
private final String value;
|
||||||
|
|
||||||
|
private SearchType(String value) {
|
||||||
|
this.value = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getValue() {
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user