toStringのOverrideを追加
This commit is contained in:
parent
4158f803cd
commit
edc3f42fe5
|
@ -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 +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user