全体的に変更

This commit is contained in:
r-ca 2023-12-14 04:32:32 +09:00
parent 17bf162341
commit e0a786764e
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9
2 changed files with 11 additions and 58 deletions

View File

@ -1,67 +1,18 @@
package one.nem.lacerta.model.document; package one.nem.lacerta.model.document;
import java.nio.file.Path;
import java.util.Date; import java.util.Date;
import one.nem.lacerta.model.document.path.DocumentPath;
import one.nem.lacerta.model.document.DocumentMeta;
public class DocumentDetail { public class DocumentDetail {
String id; DocumentMeta meta;
String title; DocumentPath path;
Date createdAt;
Date updatedAt;
String author; String author;
String defaultBranch; String defaultBranch;
Path fullPath;
// Getter
public String getId() {
return id;
}
public String getTitle() {
return title;
}
public Date getCreatedAt() {
return createdAt;
}
public Date getUpdatedAt() {
return updatedAt;
}
public String getAuthor() {
return author;
}
public String getDefaultBranch() {
return defaultBranch;
}
// Setter
public void setId(String id) {
this.id = id;
}
public void setTitle(String title) {
this.title = title;
}
public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt;
}
public void setUpdatedAt(Date updatedAt) {
this.updatedAt = updatedAt;
}
public void setAuthor(String author) {
this.author = author;
}
public void setDefaultBranch(String defaultBranch) {
this.defaultBranch = defaultBranch;
}
} }

View File

@ -1,5 +1,7 @@
package one.nem.lacerta.model.document; package one.nem.lacerta.model.document;
import java.util.ArrayList;
import one.nem.lacerta.model.document.tag.DocumentTag;
import java.util.Date; import java.util.Date;
public class DocumentMeta { public class DocumentMeta {
@ -7,8 +9,8 @@ public class DocumentMeta {
String id; String id;
String title; String title;
Date updatedAt; Date updatedAt;
String author; Date createdAt;
String defaultBranch; ArrayList<DocumentTag> tags;
// TODO-rca: Getter, Setter // TODO-rca: Getter, Setter
} }