2022-06-16 07:58:15 +00:00
|
|
|
{
|
|
|
|
"name": "TicketCollection",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "ticketCollection"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"id": true,
|
|
|
|
"type": "number"
|
2023-10-02 07:14:30 +00:00
|
|
|
},
|
|
|
|
"usedShelves": {
|
|
|
|
"type": "number"
|
2024-03-27 10:01:32 +00:00
|
|
|
},
|
|
|
|
"collectionFk": {
|
|
|
|
"type": "number"
|
2022-06-16 07:58:15 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"ticket": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Ticket",
|
|
|
|
"foreignKey": "ticketFk"
|
2024-03-27 10:01:32 +00:00
|
|
|
},
|
|
|
|
"collection": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Collection",
|
|
|
|
"foreignKey": "collectionFk"
|
2022-06-16 07:58:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|