mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
検索オブジェクト作成 WIP
This commit is contained in:
parent
9725c1a07c
commit
c2aada949e
|
@ -0,0 +1,6 @@
|
|||
package one.nem.lacerta.model.search;
|
||||
|
||||
public class SearchRequest {
|
||||
|
||||
|
||||
}
|
|
@ -1,4 +1,21 @@
|
|||
package one.nem.lacerta.model.search;
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user