forked from loafle/openapi-generator-original
* [Kotlin] Use Mutable container types when 'modelMutable' is enabled * Generate sample 'kotlin' project with mutable models * Generate sample 'kotlin-server' project with mutable models * Generate sample 'kotlin-vertx' project with mutable models * Generate sample 'ktorm-schema' project with mutable models Co-authored-by: Bruno Coelho <4brunu@users.noreply.github.com>
1.3 KiB
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 |