18 lines
309 B
Scala
18 lines
309 B
Scala
package net.okennedy.cells.serialized
|
|
|
|
import play.api.libs.json._
|
|
import net.okennedy.cells._
|
|
|
|
case class Table(
|
|
id: Identifier,
|
|
// x: Int,
|
|
// y: Int,
|
|
// rows: Seq[RowSpec],
|
|
// cols: Seq[ColSpec],
|
|
// data: Seq[Seq[Cell]]
|
|
)
|
|
|
|
object Table
|
|
{
|
|
implicit val tableFormat: Format[Table] = Json.format
|
|
} |