Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case class A (a:String,b:Int)
- case class B (c:Double,d:Int)
- //TODO class C has the property of A and B
- class C( val a:A,val b:B ) {
- }
- //Now I want to create a table for C
- class Tb(tag: Tag) extends Table[ C ](tag, "a") {
- def col1 = column[String]("k1")
- def col1 = column[Int]("k2")
- def col1 = column[Double]("k3")
- def col1 = column[Int]("k4")
- def * = //TODO I don't know how to write * function either
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement