package com.pixelized.biblib.database.data

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

@Entity(tableName = GenreDbo.TABLE)
data class GenreDbo(
    @PrimaryKey
    @ColumnInfo(name = ID)
    val id: Int,
    @ColumnInfo(name = NAME)
    val name: String,
) {
    companion object {
        const val TABLE = "GENRE"
        const val ID = "${TABLE}_ID"
        const val NAME = "${TABLE}_NAME"
    }
}