package com.pixelized.biblib.database.data

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

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