package app.closer.data.local.entity

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "question")
data class QuestionEntity(
    @PrimaryKey val id: String,
    @ColumnInfo val text: String,
    @ColumnInfo(name = "category_id") val categoryId: String,
    @ColumnInfo(name = "depth_level") val depthLevel: Int,
    @ColumnInfo(name = "is_premium") val isPremium: Boolean,
    @ColumnInfo val type: String,
    val tags: String,
    @ColumnInfo(name = "answer_config") val answerConfig: String,
    @ColumnInfo(name = "pack_id") val packId: String?,
    @ColumnInfo(name = "created_at") val createdAt: Long,
    @ColumnInfo val status: String,
    @ColumnInfo val sex: String? = null
)
