package com.placeholder.sherpai2.data.local.model

import androidx.room.Embedded
import androidx.room.Relation
import com.placeholder.sherpai2.data.local.entity.ImageEntity
import com.placeholder.sherpai2.data.local.entity.ImageTagEntity

data class ImageWithTags(

    @Embedded
    val image: ImageEntity,

    @Relation(
        parentColumn = "imageId",
        entityColumn = "imageId"
    )
    val tags: List<ImageTagEntity>
)
