2017-12-12 11:26:18 +00:00
|
|
|
{
|
2018-01-29 11:37:54 +00:00
|
|
|
"name": "TicketTracking",
|
2019-03-25 08:36:24 +00:00
|
|
|
"base": "Loggable",
|
2023-04-12 10:33:14 +00:00
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "ticketTracking"
|
|
|
|
}
|
|
|
|
},
|
2017-12-12 11:26:18 +00:00
|
|
|
"properties": {
|
2020-11-09 13:53:26 +00:00
|
|
|
"id": {
|
|
|
|
"id": true,
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2020-11-09 13:53:26 +00:00
|
|
|
"forceId": false
|
|
|
|
},
|
|
|
|
"created": {
|
2022-05-16 08:19:43 +00:00
|
|
|
"type": "date"
|
2020-11-09 13:53:26 +00:00
|
|
|
},
|
|
|
|
"ticketFk": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number"
|
2020-11-09 13:53:26 +00:00
|
|
|
},
|
|
|
|
"stateFk": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number"
|
2020-11-09 13:53:26 +00:00
|
|
|
},
|
|
|
|
"workerFk": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number"
|
2020-11-09 13:53:26 +00:00
|
|
|
}
|
2017-12-12 11:26:18 +00:00
|
|
|
},
|
|
|
|
"relations": {
|
2019-03-25 08:36:24 +00:00
|
|
|
"ticket": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Ticket",
|
|
|
|
"foreignKey": "ticketFk"
|
|
|
|
},
|
|
|
|
"state": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "State",
|
|
|
|
"foreignKey": "stateFk"
|
|
|
|
},
|
|
|
|
"worker": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Worker",
|
|
|
|
"foreignKey": "workerFk"
|
|
|
|
}
|
2017-12-12 11:26:18 +00:00
|
|
|
}
|
2019-03-25 08:36:24 +00:00
|
|
|
}
|