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
+10
-2
@@ -4,8 +4,6 @@ package one.nem.lacerta.model.document.tag;
|
|||||||
* ドキュメントのタグ
|
* ドキュメントのタグ
|
||||||
*/
|
*/
|
||||||
public class DocumentTag {
|
public class DocumentTag {
|
||||||
// TODO-rca: コンストラクタを追加する
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* タグのID(String)
|
* タグのID(String)
|
||||||
*/
|
*/
|
||||||
@@ -21,6 +19,16 @@ public class DocumentTag {
|
|||||||
*/
|
*/
|
||||||
String color;
|
String color;
|
||||||
|
|
||||||
|
// Constructor
|
||||||
|
public DocumentTag() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public DocumentTag(String id, String name, String color) {
|
||||||
|
this.id = id;
|
||||||
|
this.name = name;
|
||||||
|
this.color = color;
|
||||||
|
}
|
||||||
|
|
||||||
// Getter
|
// Getter
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user