2017-06-13 06:44:40 +00:00
|
|
|
{
|
2019-02-01 16:11:14 +00:00
|
|
|
"name": "TicketState",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "ticketState"
|
|
|
|
}
|
2017-06-13 06:44:40 +00:00
|
|
|
},
|
2019-02-01 16:11:14 +00:00
|
|
|
"properties": {
|
|
|
|
"ticketFk": {
|
|
|
|
"id": true,
|
2021-06-29 16:01:33 +00:00
|
|
|
"type": "number",
|
2019-02-01 16:11:14 +00:00
|
|
|
"forceId": false
|
|
|
|
},
|
|
|
|
"updated": {
|
2021-06-29 16:01:33 +00:00
|
|
|
"type": "date"
|
2019-02-01 16:11:14 +00:00
|
|
|
},
|
|
|
|
"alertLevel": {
|
2021-06-29 16:01:33 +00:00
|
|
|
"type": "number"
|
2020-06-02 07:34:42 +00:00
|
|
|
},
|
|
|
|
"code": {
|
|
|
|
"type": "string"
|
2019-02-01 16:11:14 +00:00
|
|
|
}
|
2018-05-17 11:29:18 +00:00
|
|
|
},
|
2019-02-01 16:11:14 +00:00
|
|
|
"relations": {
|
|
|
|
"ticket": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Ticket",
|
|
|
|
"foreignKey": "ticketFk"
|
|
|
|
},
|
|
|
|
"state": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "State",
|
|
|
|
"foreignKey": "stateFk"
|
|
|
|
},
|
2023-11-30 13:25:00 +00:00
|
|
|
"user": {
|
2023-12-19 08:43:09 +00:00
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "VnUser",
|
2024-01-03 12:37:18 +00:00
|
|
|
"foreignKey": "userFk"
|
2023-12-19 08:43:09 +00:00
|
|
|
}
|
2017-06-13 06:44:40 +00:00
|
|
|
}
|
|
|
|
}
|