package com.develop.common.data_repo.db.entity

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import kotlinx.serialization.Serializable

/**
 * HotTag
 * 热门标签
 * @author elber
 * @date 2022/6/16 14:48
 * @since 0.0.1
 */
@Serializable
@Entity(tableName = "cc_dev_hot_tag")
data class DevHotTag(

    @PrimaryKey
    @ColumnInfo
    var code: String,

    /**
     * 序号
     */
    @ColumnInfo
    val number: String?,

    /**
     * 标签编号
     */
    @ColumnInfo(name = "tag_number")
    val tagNumber: String?,

    @ColumnInfo(name = "update_time")
    val updateTime: Long?,

    @ColumnInfo(name = "create_time")
    val createTime: Long?
)