package com.syaroful.agrilinkvocpro.plant_disease_detection_feature.data.local.entity

import android.os.Parcelable
import androidx.room.Entity
import androidx.room.PrimaryKey
import kotlinx.android.parcel.Parcelize

@Suppress("DEPRECATED_ANNOTATION")
@Parcelize
@Entity(tableName = "plant_diagnosis")
data class PlantDiagnosisEntity(
    @PrimaryKey(autoGenerate = true) val id: Int = 0,
    val diagnosis: String,
    val cause: String,
    val description: String,
    val prevention: String,
    val treatment: String,
    val image: ByteArray,
    val timestamp: Long = System.currentTimeMillis()
) : Parcelable