Skip to content

Instantly share code, notes, and snippets.

@shkschneider
Last active May 23, 2019 12:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shkschneider/667cc2e8eb7b214852343a0759dad730 to your computer and use it in GitHub Desktop.
Save shkschneider/667cc2e8eb7b214852343a0759dad730 to your computer and use it in GitHub Desktop.
@Parcelize
data class User(
override val id: UUID = UUID.randomUUID(),
override val name: String?
) : Parcelable, ScopedUser
interface ScopedUser {
val id: UUID
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment