Skip to content

Instantly share code, notes, and snippets.

@charmygarg
Last active September 24, 2017 10:39
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 charmygarg/cdfa2f6e4739ed5162c4094f39a4f86e to your computer and use it in GitHub Desktop.
Save charmygarg/cdfa2f6e4739ed5162c4094f39a4f86e to your computer and use it in GitHub Desktop.
import com.outworkers.phantom.dsl._
abstract class Users extends Table[Users, User] {
object id extends StringColumn with PartitionKey
object email extends SetColumn[String]
object name extends StringColumn with PartitionKey
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment