Skip to content

Instantly share code, notes, and snippets.

@nraychaudhuri
Created March 7, 2016 23:38
Show Gist options
  • Save nraychaudhuri/db843e309dc0d3fa88af to your computer and use it in GitHub Desktop.
Save nraychaudhuri/db843e309dc0d3fa88af to your computer and use it in GitHub Desktop.
sealed trait UrinalStatus { def value: String }
final case object Available extends UrinalStatus {
val value = "Avialable"
}
final case object Occupied extends UrinalStatus {
val value = "Occupied"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment