toggle menu
Konduct
0.1.0-SNAPSHOT
jvm
switch theme
search in API
Konduct
/
io.github.denofbits.konduct.examples
/
Product
Product
data
class
Product
(
val
id
:
String
?
=
null
,
val
name
:
String
,
val
price
:
Double
,
val
category
:
String
,
val
status
:
String
,
val
rating
:
Double
?
=
null
,
val
inStock
:
Boolean
=
true
,
val
tags
:
List
<
String
>
=
emptyList()
)
Example domain models
Members
Constructors
Product
Link copied to clipboard
constructor
(
id
:
String
?
=
null
,
name
:
String
,
price
:
Double
,
category
:
String
,
status
:
String
,
rating
:
Double
?
=
null
,
inStock
:
Boolean
=
true
,
tags
:
List
<
String
>
=
emptyList()
)
Properties
category
Link copied to clipboard
val
category
:
String
id
Link copied to clipboard
val
id
:
String
?
=
null
in
Stock
Link copied to clipboard
val
inStock
:
Boolean
=
true
name
Link copied to clipboard
val
name
:
String
price
Link copied to clipboard
val
price
:
Double
rating
Link copied to clipboard
val
rating
:
Double
?
=
null
status
Link copied to clipboard
val
status
:
String
tags
Link copied to clipboard
val
tags
:
List
<
String
>