📜  房间数据库实体类 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:24.405000             🧑  作者: Mango

代码示例1
@Entity
data class User(
  @PrimaryKey val uid: Int,
  @ColumnInfo(name = "first_name") val firstName: String?,
  @ColumnInfo(name = "last_name") val lastName: String?
)