package suwayomi.tachidesk.manga.impl.download.model

/*
 * Copyright (C) Contributors to the Suwayomi project
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */

import suwayomi.tachidesk.manga.impl.download.model.DownloadState.Queued
import suwayomi.tachidesk.manga.model.dataclass.ChapterDataClass

class DownloadChapter(
    val chapterIndex: Int,
    val mangaId: Int,
    var state: DownloadState = Queued,
    var progress: Float = 0f,
    var tries: Int = 0,
    var chapter: ChapterDataClass? = null,
)
