2020-03-27 08:10:30 +00:00
|
|
|
{
|
|
|
|
"name": "TicketLastState",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "ticketLastState"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ticketFk": {
|
2020-11-10 10:44:41 +00:00
|
|
|
"id": true,
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number"
|
2020-03-27 08:10:30 +00:00
|
|
|
},
|
|
|
|
"ticketTrackingFk": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number"
|
2020-03-27 08:10:30 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"ticket": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Ticket",
|
|
|
|
"foreignKey": "ticketFk"
|
|
|
|
},
|
|
|
|
"ticketTracking": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "TicketTracking",
|
|
|
|
"foreignKey": "ticketTrackingFk"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|