tj
2025-04-02 8f218a39e45c8fffcba2247af011a779cb9ecce7
1
2
3
4
5
6
7
8
9
10
11
12
13
package com.example.firstapp.database.entity
 
import androidx.room.Entity
import androidx.room.PrimaryKey
import java.util.*
 
@Entity(tableName = "keywords")
data class KeywordEntity(
    @PrimaryKey(autoGenerate = true) val id: Long = 0, // 自增长的 id
    val keyword: String,
    val type: String,
    val isEnabled: Boolean
)