From 2b04432a37a2f9cf87222f82378e52ccfd0f3268 Mon Sep 17 00:00:00 2001 From: r-ca Date: Thu, 14 Dec 2023 04:24:38 +0900 Subject: [PATCH] =?UTF-8?q?Getter/Setter=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../model/document/DocumentDetail.java | 54 ++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/model/src/main/java/one/nem/lacerta/model/document/DocumentDetail.java b/model/src/main/java/one/nem/lacerta/model/document/DocumentDetail.java index 2018cac9..28ac2287 100644 --- a/model/src/main/java/one/nem/lacerta/model/document/DocumentDetail.java +++ b/model/src/main/java/one/nem/lacerta/model/document/DocumentDetail.java @@ -11,5 +11,57 @@ public class DocumentDetail { String author; String defaultBranch; - // TODO-rca: Getter, Setter + // 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; + } + + }