コンストラクタ追加
This commit is contained in:
parent
974b6b2afb
commit
e7d910a23e
|
@ -17,6 +17,25 @@ public class TaskItemModel {
|
||||||
long reward;
|
long reward;
|
||||||
|
|
||||||
// constructor
|
// constructor
|
||||||
|
public TaskItemModel(String internalId, String displayName, String attachedChildId, String iconEmoji, Color bgColor, TaskConditionBaseModel condition, long reward) {
|
||||||
|
this.internalId = internalId;
|
||||||
|
this.attachedChildId = attachedChildId;
|
||||||
|
this.displayName = displayName;
|
||||||
|
this.iconEmoji = iconEmoji;
|
||||||
|
this.condition = condition;
|
||||||
|
this.reward = reward;
|
||||||
|
this.bgColor = bgColor;
|
||||||
|
}
|
||||||
|
|
||||||
|
public TaskItemModel(String internalId, String displayName, String attachedChildId, String iconEmoji, TaskConditionBaseModel condition, long reward) {
|
||||||
|
this.internalId = internalId;
|
||||||
|
this.attachedChildId = attachedChildId;
|
||||||
|
this.displayName = displayName;
|
||||||
|
this.iconEmoji = iconEmoji;
|
||||||
|
this.condition = condition;
|
||||||
|
this.reward = reward;
|
||||||
|
}
|
||||||
|
|
||||||
public TaskItemModel(String internalId, String displayName, String attachedChildId, TaskConditionBaseModel condition, long reward) {
|
public TaskItemModel(String internalId, String displayName, String attachedChildId, TaskConditionBaseModel condition, long reward) {
|
||||||
this.internalId = internalId;
|
this.internalId = internalId;
|
||||||
this.attachedChildId = attachedChildId;
|
this.attachedChildId = attachedChildId;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user