All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.touk.nussknacker.engine.example.Model.scala Maven / Gradle / Ivy

There is a newer version: 0.0.12
Show newest version
package pl.touk.nussknacker.engine.example

import pl.touk.nussknacker.engine.api.{DisplayableAsJson, Documentation}
import argonaut.ArgonautShapeless._

import scala.annotation.meta.getter

case class Transaction(@(Documentation @getter)(description = "Client id, should be in format: 'Client1'")
  clientId: String, amount: Int, eventDate: Long = System.currentTimeMillis()) extends DisplayableAsJson[Transaction]
case class Client(id: String, name: String, cardNumber: String) extends DisplayableAsJson[Client]




© 2015 - 2024 Weber Informatics LLC | Privacy Policy