package com.various.funny.sounds.audio.data

import androidx.room.Entity
import androidx.room.PrimaryKey
import com.various.funny.sounds.audio.helper.ComUtils
import java.io.Serializable


@Entity(tableName = ComUtils.TABLE_Name_Sounds)
data class NewBeanChild(
    @PrimaryKey(autoGenerate = true)
    var id: Int = 0,
    var classId: String,
    var mp3Url: String?, var preUrl: String?, var title: String?,
    var isCollect: Boolean = false,
    var downloadUrl: String? = null
) : Serializable {

//    foreignKeys = [ForeignKey(
//    entity = NewBean::class,
//    parentColumns = ["categoryId"],
//    childColumns = ["classId"],
//    onDelete = ForeignKey.NO_ACTION
//    )]
}