package com.zxhyis.tools.logic

import android.graphics.Bitmap
import android.graphics.drawable.Drawable
import android.net.Uri
import java.io.File


data class ImageInfoBean(
    val imagePath: String,
    val imageBitmap: Bitmap,
    val file: File,
    val imageUri: Uri,
    var isShow: Boolean = false,
    var isSelected: Boolean = false
)

data class ImageAndVideoBean(
    val path: String,
    val file: File,
    val type: Int
)

data class VideoBean(
    val videoPath: String,
    val file: File,
    val videoUri: Uri,
    var isShow: Boolean = false,
    var isSelected: Boolean = false
)

data class AudioBean(
    val audioPath: String,
    val audioName: String,
    val audioUri: Uri,
    val file: File,
    val apkSize: Long,
    val apkTime: String?,
    var isShow: Boolean = false,
    var isSelected: Boolean = false
)

data class ApkInfoBean(
    val apkIcon: Drawable,
    val apkName: String,
    val apkPath: String,
    val apkSize: Long,
    val apkTime: String?,
    val file: File,
    var isShow: Boolean = false,
    var isSelected: Boolean = false
)

data class EmptyFileBean(
    val filePath: String,
    val fileName: String,
    val file: File,
    val fileSize: Long,
    val fileTime: String?,
    var isShow: Boolean = false,
    var isSelected: Boolean = false
)

data class FileBean(
    val filepath: String,
    val file: File,
    val fileName: String,
    val fileSize: Long,
    val fileTime: String?,
    var isShow: Boolean = false,
    var isSelected: Boolean = false
)

data class ParentBean(
    val title: String,
    val childItem: ArrayList<ChildBean>,
    val parentSize: Long,
    var isParentSelected: Boolean,
    var expanded: Boolean = true
)

data class ChildBean(
    val image: Int,
    val type: String,
    var isChildSelected: Boolean,
    val childSize: Long,
    val file:File
)

