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

46 lines
927 B
JSON
Raw Permalink Normal View History

2017-12-12 11:26:18 +00:00
{
"name": "TicketTracking",
"base": "VnModel",
"mixins": {
"Loggable": true
},
"options": {
"mysql": {
"table": "ticketTracking"
}
},
2017-12-12 11:26:18 +00:00
"properties": {
2020-11-09 13:53:26 +00:00
"id": {
"id": true,
"type": "number",
"forceId": false
2020-11-09 13:53:26 +00:00
},
"created": {
"type": "date"
2020-11-09 13:53:26 +00:00
},
"ticketFk": {
"type": "number"
2020-11-09 13:53:26 +00:00
},
"stateFk": {
"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"
},
"user": {
2019-03-25 08:36:24 +00:00
"type": "belongsTo",
2023-12-19 08:43:09 +00:00
"model": "VnUser",
"foreignKey": "userFk"
2019-03-25 08:36:24 +00:00
}
2017-12-12 11:26:18 +00:00
}
2019-03-25 08:36:24 +00:00
}