Created
June 16, 2019 14:26
-
-
Save enginebai/86a1446f202c4d494439d37dc55a326c to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Post( | |
@PrimaryKey | |
@SerializedName("id") | |
val id: String, | |
@SerializedName("sender") | |
@ColumnInfo | |
val sender: String?, | |
@SerializedName("caption") | |
@ColumnInfo | |
val caption: String?, | |
@SerializedName("media") | |
@ColumnInfo | |
val media: String?, | |
@SerializedName("timestamp") | |
@ColumnInfo | |
val timestamp: Long? | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment