salix/modules/ticket/back/models/ticket-last-state.json

35 lines
720 B
JSON
Raw Normal View History

2020-03-27 08:10:30 +00:00
{
"name": "TicketLastState",
"base": "VnModel",
"options": {
"mysql": {
"table": "ticketLastState"
}
},
"properties": {
"name": {
"type": "string"
},
"ticketFk": {
"id": 1,
"type": "Number"
},
"ticketTrackingFk": {
"id": 2,
"type": "Number"
}
},
"relations": {
"ticket": {
"type": "belongsTo",
"model": "Ticket",
"foreignKey": "ticketFk"
},
"ticketTracking": {
"type": "belongsTo",
"model": "TicketTracking",
"foreignKey": "ticketTrackingFk"
}
}
}