22 lines
413 B
JSON
22 lines
413 B
JSON
|
{
|
||
|
"name": "TicketCollection",
|
||
|
"base": "VnModel",
|
||
|
"options": {
|
||
|
"mysql": {
|
||
|
"table": "ticketCollection"
|
||
|
}
|
||
|
},
|
||
|
"properties": {
|
||
|
"id": {
|
||
|
"id": true,
|
||
|
"type": "number"
|
||
|
}
|
||
|
},
|
||
|
"relations": {
|
||
|
"ticket": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "Ticket",
|
||
|
"foreignKey": "ticketFk"
|
||
|
}
|
||
|
}
|
||
|
}
|