mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
コンストラクタ追加
This commit is contained in:
1 file changed
+21
@@ -64,6 +64,27 @@ public class DocumentMeta {
|
|||||||
this.defaultBranch = defaultBranch;
|
this.defaultBranch = defaultBranch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public DocumentMeta(String id, String title, Date updatedAt, Date createdAt, List<DocumentTag> tags, String author, String defaultBranch) {
|
||||||
|
this.id = id;
|
||||||
|
this.title = title;
|
||||||
|
this.updatedAt = updatedAt;
|
||||||
|
this.createdAt = createdAt;
|
||||||
|
this.tags = tags;
|
||||||
|
this.author = author;
|
||||||
|
this.defaultBranch = defaultBranch;
|
||||||
|
}
|
||||||
|
|
||||||
|
public DocumentMeta(String id, String title, Date updatedAt, Date createdAt, List<DocumentTag> tags, PublicPath path, String author, String defaultBranch) {
|
||||||
|
this.id = id;
|
||||||
|
this.title = title;
|
||||||
|
this.updatedAt = updatedAt;
|
||||||
|
this.createdAt = createdAt;
|
||||||
|
this.tags = tags;
|
||||||
|
this.path = path;
|
||||||
|
this.author = author;
|
||||||
|
this.defaultBranch = defaultBranch;
|
||||||
|
}
|
||||||
|
|
||||||
// Getter
|
// Getter
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user