Created
June 28, 2018 02:24
-
-
Save brianPlummer/2ef0a93a62e422b5ad44c5cdcba72b4a to your computer and use it in GitHub Desktop.
Data model for government sample data
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
@JsonClass(generateAdapter = true) | |
data class Complaint ( | |
val id: String, | |
val description: String, | |
val createdAt: Long, | |
val owner: Owner | |
) | |
@JsonClass(generateAdapter = true) | |
data class Owner ( | |
val id: String, | |
val displayName: String, | |
val flags: List<String>? | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment