Skip to content

Instantly share code, notes, and snippets.

Last active Mar 21, 2022
What would you like to do?
Product Entity
@Entity(tableName = "products")
data class Product(
@ColumnInfo(name = "productId")
val id: String,
@ColumnInfo(name = "name")
var name: String?,
@ColumnInfo(name = "price")
var price: Double
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment