検索オブジェクト作成 WIP

This commit is contained in:
r-ca 2024-01-13 14:08:59 +09:00
parent 9725c1a07c
commit c2aada949e
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,6 @@
package one.nem.lacerta.model.search;
public class SearchRequest {
}

View File

@ -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;
}
}