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

32 lines
624 B
JSON
Raw Normal View History

2019-01-23 11:30:32 +00:00
{
"name": "OrderTicket",
"base": "VnModel",
"options": {
"mysql": {
"table": "orderTicket"
}
},
"properties": {
"orderFk": {
"id": true,
"type": "Number"
},
"ticketFk": {
"id": true,
"type": "Number"
}
},
"relations": {
"ticket": {
"type": "belongsTo",
"model": "Ticket",
"foreignKey": "ticketFk"
},
"order": {
"type": "belongsTo",
"model": "Order",
"foreignKey": "orderFk"
}
}
}