You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
276 B
11 lines
276 B
package com.xsn.explorer.models
|
|
|
|
import com.alexitc.playsonify.models.WrappedInt
|
|
import play.api.libs.json.{JsPath, Reads}
|
|
|
|
case class Height(int: Int) extends AnyVal with WrappedInt
|
|
|
|
object Height {
|
|
|
|
implicit val reads: Reads[Height] = JsPath.read[Int].map(Height.apply)
|
|
}
|
|
|