salix/modules/ticket/back/models/ticket-collection.json

33 lines
688 B
JSON
Raw Normal View History

{
"name": "TicketCollection",
"base": "VnModel",
"options": {
"mysql": {
"table": "ticketCollection"
}
},
"properties": {
"id": {
"id": true,
"type": "number"
},
"usedShelves": {
"type": "number"
2024-03-27 10:01:32 +00:00
},
"collectionFk": {
"type": "number"
}
},
"relations": {
"ticket": {
"type": "belongsTo",
"model": "Ticket",
"foreignKey": "ticketFk"
2024-03-27 10:01:32 +00:00
},
"collection": {
"type": "belongsTo",
"model": "Collection",
"foreignKey": "collectionFk"
}
}
}