33 lines
628 B
JSON
33 lines
628 B
JSON
|
{
|
||
|
"name": "ticketTracking",
|
||
|
"base": "VnModel",
|
||
|
"properties": {
|
||
|
"id": {
|
||
|
"id": true,
|
||
|
"type": "Number",
|
||
|
"forceId": false
|
||
|
},
|
||
|
"created": {
|
||
|
"type": "Date",
|
||
|
"required": false
|
||
|
}
|
||
|
},
|
||
|
"relations": {
|
||
|
"ticket": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "Ticket",
|
||
|
"foreignKey": "ticketFk"
|
||
|
},
|
||
|
"state": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "State",
|
||
|
"foreignKey": "stateFk"
|
||
|
},
|
||
|
"worker": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "worker",
|
||
|
"foreignKey": "workerFk"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|