Getter/Setter作成

This commit is contained in:
r-ca 2023-12-14 04:22:59 +09:00
parent 2f004502a1
commit 0a4dbbabd9
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -6,5 +6,33 @@ public class DocumentTag {
String name;
String color;
// TODO-rca: Getter/Setter
// Getter
public String getId() {
return id;
}
public String getName() {
return name;
}
public String getColor() {
return color;
}
// Setter
public void setId(String id) {
this.id = id;
}
public void setName(String name) {
this.name = name;
}
public void setColor(String color) {
this.color = color;
}
}