openpss / com.hendraanggrian.openpss.db.schemas / DigitalPrice

DigitalPrice

data class DigitalPrice : Document<DigitalPrices>, Named

Constructors

<init>

DigitalPrice(name: String, oneSidePrice: Double, twoSidePrice: Double)

Properties

id

lateinit var id: Id<String, DigitalPrices>

NoSQL object identifier.

name

var name: String

oneSidePrice

var oneSidePrice: Double

twoSidePrice

var twoSidePrice: Double

Functions

toString

fun toString(): String

Companion Object Functions

new

fun new(name: String): DigitalPrice