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",
|
|
|
|
"log": {
|
|
|
|
"model": "TicketLog",
|
|
|
|
"relation": "ticket",
|
2019-04-04 10:38:54 +00:00
|
|
|
"showField": "stateFk"
|
2019-03-25 08:36:24 +00:00
|
|
|
},
|
2018-01-29 11:37:54 +00:00
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2019-03-25 08:36:24 +00:00
|
|
|
"table": "ticketTracking"
|
2018-01-29 11:37:54 +00:00
|
|
|
}
|
|
|
|
},
|
2017-12-12 11:26:18 +00:00
|
|
|
"properties": {
|
|
|
|
"id": {
|
2019-03-25 08:36:24 +00:00
|
|
|
"id": true,
|
|
|
|
"type": "Number",
|
|
|
|
"forceId": false
|
2017-12-12 11:26:18 +00:00
|
|
|
},
|
|
|
|
"created": {
|
2019-03-25 08:36:24 +00:00
|
|
|
"type": "Date",
|
|
|
|
"required": false
|
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
|
|
|
}
|
2017-12-12 11:26:18 +00:00
|
|
|
|