Created
October 16, 2023 13:37
-
-
Save igorescodro/16121e4077112e63602541d53aa55cde to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Entity | |
data class Category( | |
@PrimaryKey(autoGenerate = true) | |
@ColumnInfo(name = "category_id") | |
var id: Long = 0, | |
@ColumnInfo(name = "category_name") var name: String, | |
@ColumnInfo(name = "category_color") var color: String, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment