This commit is contained in:
ろむねこ 2023-12-11 10:06:48 +09:00
parent 5ed74d18d8
commit 4615418e38
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168
2 changed files with 4 additions and 3 deletions

View File

@ -3,4 +3,5 @@ package one.nem.lacerta.data.model.documents;
public class DocumentDetail {
// ドキュメントの詳細情報
private DocumentMeta documentMeta;
}

View File

@ -1,7 +1,7 @@
package one.nem.lacerta.data.model.documents;
import one.nem.lacerta.data.model.documents.enums.DocumentType;
public class Meta {
public class DocumentMeta {
// ドキュメントのメタ情報
public String id; // ドキュメントの内部ID(UUIDv4?)
public String name; // ドキュメントの名前
@ -10,7 +10,7 @@ public class Meta {
public String[] tags; // ドキュメントのタグ
public String[] categories; // ドキュメントのカテゴリ
public Meta(String id, String name, String description, DocumentType type, String[] tags, String[] categories) {
public DocumentMeta(String id, String name, String description, DocumentType type, String[] tags, String[] categories) {
this.id = id;
this.name = name;
this.description = description;
@ -19,7 +19,7 @@ public class Meta {
this.categories = categories;
}
public Meta() {
public DocumentMeta() {
this.id = "";
this.name = "";
this.description = "";