mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
WIP
This commit is contained in:
parent
5ed74d18d8
commit
4615418e38
|
@ -3,4 +3,5 @@ package one.nem.lacerta.data.model.documents;
|
|||
public class DocumentDetail {
|
||||
// ドキュメントの詳細情報
|
||||
|
||||
private DocumentMeta documentMeta;
|
||||
}
|
||||
|
|
|
@ -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 = "";
|
Loading…
Reference in New Issue
Block a user