Last active
November 16, 2018 06:34
-
-
Save kinnerapriyap/e386b9ff52cc3357fe66804594a451de 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 Item { | |
@PrimaryKey | |
@Embedded ItemId id, | |
... | |
} | |
data class ItemId { | |
long categoryId, | |
int itemId | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment