Skip to content

Instantly share code, notes, and snippets.

@ashkrit
Last active May 24, 2020 04:15
Show Gist options
  • Save ashkrit/fd7cd356813e99a9ef1de8dd6df030de to your computer and use it in GitHub Desktop.
Save ashkrit/fd7cd356813e99a9ef1de8dd6df030de to your computer and use it in GitHub Desktop.
case class Registration(pk1: String, pk2: String,
className: String = null, classDesc: String = null, frequency: Int = 0,
firstName: String = null, lastName: String = null)
Registration("class:C1", "class:C1", className = "Maths", classDesc = "Basic Algebra")
Registration("class:C1", "student:S1", firstName = "Student1", lastName = "Student1")
Registration("class:C1", "student:S2", firstName = "Student2", lastName = "Student2")
Registration("class:C1", "student:S2", firstName = "Student2", lastName = "Student2")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment