Answers for "room database entity class"

0

room database entity class

@Entity
data class User(
  @PrimaryKey val uid: Int,
  @ColumnInfo(name = "first_name") val firstName: String?,
  @ColumnInfo(name = "last_name") val lastName: String?
)
Posted by: Guest on October-09-2021

Browse Popular Code Answers by Language