Eric Durand-Tremblay 11bfc66782
Issue #10591 kotlin enum defaultValue (#10592)
* Issue #10591 kotlin enum defaultValue

* Updated sample

* Register sample

Co-authored-by: Eric Durand-Tremblay <etremblay@kronostechnologies.com>
2021-10-16 13:47:31 +08:00

1.3 KiB

Table Pet

(mapped from: Pet)

Properties

Name Mapping SQL Type Default Type Description Notes
name name text NOT NULL kotlin.String
photoUrls One-To-Many ---- ---- kotlin.Array<kotlin.String>
id id long PRIMARY KEY AUTOINCREMENT kotlin.Long [optional]
category category long Category [optional] [foreignkey]
tags One-To-Many ---- ---- kotlin.Array<Tag> [optional]
status status text status pet status in the store [optional]

Table PetPhotoUrls

(mapped from: PetPhotoUrls)

Properties

Name Mapping SQL Type Default Type Description Notes
pet pet long kotlin.Long Primary Key one
photoUrls photoUrls text kotlin.String Foreign Key many

Table PetTag

(mapped from: PetTag)

Properties

Name Mapping SQL Type Default Type Description Notes
pet pet long kotlin.Long Primary Key one
tag tag long kotlin.Long Foreign Key many