package hu.bbara.purefin.core.data.room.entity

import androidx.room.Entity
import androidx.room.Index
import androidx.room.PrimaryKey
import java.util.UUID

@Entity(
    tableName = "movies",
    indices = [Index("libraryId")]
)
data class MovieEntity(
    @PrimaryKey val id: UUID,
    val libraryId: UUID,
    val title: String,
    val progress: Double?,
    val watched: Boolean,
    val year: String,
    val rating: String,
    val runtime: String,
    val format: String,
    val synopsis: String,
    val imageUrlPrefix: String,
    val audioTrack: String,
    val subtitles: String
)
