プロパティ, コンストラクタ, Getter/Setter実装

This commit is contained in:
ろむねこ 2024-01-25 16:30:31 +09:00
parent 0f6412c792
commit 26b0994343
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -1,4 +1,51 @@
package one.nem.lacerta.setting.model; package one.nem.lacerta.setting.model;
public class TagListItem { public class TagListItem {
String tagId;
String tagName;
String tagDescription;
String tagColor;
public TagListItem(String tagId, String tagName, String tagDescription, String tagColor) {
this.tagId = tagId;
this.tagName = tagName;
this.tagDescription = tagDescription;
this.tagColor = tagColor;
}
public TagListItem() {
}
public String getTagId() {
return tagId;
}
public void setTagId(String tagId) {
this.tagId = tagId;
}
public String getTagName() {
return tagName;
}
public void setTagName(String tagName) {
this.tagName = tagName;
}
public String getTagDescription() {
return tagDescription;
}
public void setTagDescription(String tagDescription) {
this.tagDescription = tagDescription;
}
public String getTagColor() {
return tagColor;
}
public void setTagColor(String tagColor) {
this.tagColor = tagColor;
}
} }