William Cheng 4ac054f723
Hide timestamp in Scala Play server samples (#5495)
* hide timestamp in scala play server output

* add chameleon82 to scala tech committee
2020-03-02 14:56:07 +08:00

25 lines
451 B
Scala

package model
import play.api.libs.json._
/**
* A User who is purchasing from the pet store
* @param userStatus User Status
*/
case class User(
id: Option[Long],
username: Option[String],
firstName: Option[String],
lastName: Option[String],
email: Option[String],
password: Option[String],
phone: Option[String],
userStatus: Option[Int]
)
object User {
implicit lazy val userJsonFormat: Format[User] = Json.format[User]
}