package com.gamedog.vididin.manager.taskbeans

import java.io.Serializable




data class TaskStateBoxRoot(
    val startMs: Long = 0,
    val tasks: List<TaskStateBox>
): Serializable

data class TaskStateBox(
    val chest_id: String,
    val chest_name: String,
    val duration_days: Int,
    val reward_type: String,
    val reward_value: Float,
    val is_one_time: Boolean,
    val status: String,
    val tasks: List<TaskStateBoxSub>,

    // new added
    val hasClaimedReward: Boolean = false,
): Serializable

data class TaskStateBoxSub(
    val task_id: String,
    val task_name: String,
    val required_count: Int,
    val task_type: Int, // This added by self for decide which task should be execute, detail see: #TaskManager.companion

    // new added
    var finishedNum: Int = 0,
): Serializable


