forked from loafle/openapi-generator-original
* [ktorm] added support for ktorm * [ktorm] fixed type mapping * [ktorm] fixed foreign key * [ktorm] added variable for the missing package import * [ktorm] added correct templates * [ktorm] added relationship metadata * [ktorm] also support relationships 1:m * [ktorm] relation to primitive naming fix * [ktorm] updated mustache templates * [ktorm] small fixes on templates, assigmentbuilder, docs, sql script syntax. * fix issue, rename to ktorm-schema * replace tabs with 4 spaces * [ktorm] added primarykey automatic generation * [ktorm] added tests * [ktorm] added gradle to samples * [ktorm] fix datatime type * [ktorm] template fixes array and primarykey * [ktorm][sample] regenerate * [ktorm][sample] added manually files from kotlin-client We inherit from baseTable, so we need those for now * [ktorm] fix: relation column types hardcoded * update samples * update doc Co-authored-by: William Cheng <wing328hk@gmail.com>
682 B
682 B
Table Order
(mapped from: Order)
Properties
Name | Mapping | SQL Type | Default | Type | Description | Notes |
---|---|---|---|---|---|---|
id | id | long PRIMARY KEY AUTOINCREMENT | kotlin.Long | [optional] | ||
petId | petId | long | kotlin.Long | [optional] | ||
quantity | quantity | int | kotlin.Int | [optional] | ||
shipDate | shipDate | datetime | java.time.LocalDateTime | [optional] | ||
status | status | text | status | Order Status | [optional] | |
complete | complete | boolean | kotlin.Boolean | [optional] |