33 lines
567 B
JSON
33 lines
567 B
JSON
{
|
|
"name": "TicketState",
|
|
"base": "VnModel",
|
|
"properties": {
|
|
"id": {
|
|
"id": true,
|
|
"type": "Number",
|
|
"forceId": false
|
|
},
|
|
"updated": {
|
|
"type": "Date",
|
|
"required": false
|
|
}
|
|
},
|
|
"relations": {
|
|
"ticket": {
|
|
"type": "belongsTo",
|
|
"model": "Ticket",
|
|
"foreignKey": "ticketFk"
|
|
},
|
|
"state": {
|
|
"type": "belongsTo",
|
|
"model": "State",
|
|
"foreignKey": "stateFk"
|
|
},
|
|
"employee": {
|
|
"type": "belongsTo",
|
|
"model": "Employee",
|
|
"foreignKey": "employeeFk"
|
|
}
|
|
}
|
|
}
|