Skip to content

Instantly share code, notes, and snippets.

@a914-gowtham
Last active September 18, 2021 08:55
Show Gist options
  • Save a914-gowtham/704881b524aa8b25a39b4068a0f0d041 to your computer and use it in GitHub Desktop.
Save a914-gowtham/704881b524aa8b25a39b4068a0f0d041 to your computer and use it in GitHub Desktop.
data class UserProfile(var uId: String,
@ServerTimestamp
var createdAt: Date?=null,
@ServerTimestamp
var updatedAt: Date?=null,
var image: String="",
@get:PropertyName("user_name")
@set:PropertyName("user_name")
var userName: String="",
var token :String="",
var mobile: MobileNumber?=null)
data class MobileNumber(
@get:PropertyName("country_code")
@set:PropertyName("country_code")
var countryCode: String="",
var number: String="")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment