From c297fb043a1a95dce913b4f62eee474ab7b31383 Mon Sep 17 00:00:00 2001 From: r-ca Date: Sat, 16 Dec 2023 13:36:46 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B3=E3=83=B3=E3=82=B9=E3=83=88=E3=83=A9?= =?UTF-8?q?=E3=82=AF=E3=82=BF=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nem/lacerta/model/document/tag/DocumentTag.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/model/src/main/java/one/nem/lacerta/model/document/tag/DocumentTag.java b/model/src/main/java/one/nem/lacerta/model/document/tag/DocumentTag.java index f2641fc3..b00b0847 100644 --- a/model/src/main/java/one/nem/lacerta/model/document/tag/DocumentTag.java +++ b/model/src/main/java/one/nem/lacerta/model/document/tag/DocumentTag.java @@ -4,8 +4,6 @@ package one.nem.lacerta.model.document.tag; * ドキュメントのタグ */ public class DocumentTag { - // TODO-rca: コンストラクタを追加する - /** * タグのID(String) */ @@ -21,6 +19,16 @@ public class DocumentTag { */ String color; + // Constructor + public DocumentTag() { + } + + public DocumentTag(String id, String name, String color) { + this.id = id; + this.name = name; + this.color = color; + } + // Getter /**