toStringのOverrideを追加

This commit is contained in:
ろむねこ 2024-06-11 15:13:20 +09:00
parent 4158f803cd
commit edc3f42fe5
Signed by: Fujimatsu
GPG Key ID: FA1F39A1BA37D168

View File

@ -1,5 +1,7 @@
package one.nem.kidshift.model.tasks;
import androidx.annotation.NonNull;
import one.nem.kidshift.model.tasks.condition.TaskConditionBaseModel;
public class TaskItemModel {
@ -60,4 +62,16 @@ public class TaskItemModel {
public void setReward(long reward) {
this.reward = reward;
}
@NonNull
@Override
public String toString() {
return "TaskItemModel{" +
"internalId='" + internalId + '\'' +
", attachedChildId='" + attachedChildId + '\'' +
", displayName='" + displayName + '\'' +
", condition=" + condition +
", reward=" + reward +
'}';
}
}