2018-03-12 12:55:18 +00:00
|
|
|
{
|
|
|
|
"name": "TicketObservation",
|
2019-03-29 06:36:26 +00:00
|
|
|
"base": "Loggable",
|
2018-03-12 12:55:18 +00:00
|
|
|
"options": {
|
2018-03-16 14:06:42 +00:00
|
|
|
"mysql": {
|
2018-12-17 10:28:39 +00:00
|
|
|
"table": "ticketObservation"
|
2018-03-16 14:06:42 +00:00
|
|
|
}
|
2018-03-12 12:55:18 +00:00
|
|
|
},
|
|
|
|
"properties": {
|
2018-03-16 14:06:42 +00:00
|
|
|
"id": {
|
|
|
|
"id": true,
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2018-03-16 14:06:42 +00:00
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"description": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "string",
|
2018-03-16 14:06:42 +00:00
|
|
|
"required": true
|
|
|
|
}
|
2018-03-12 12:55:18 +00:00
|
|
|
},
|
|
|
|
"relations": {
|
2018-03-16 14:06:42 +00:00
|
|
|
"ticket": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Ticket",
|
2020-12-23 12:32:58 +00:00
|
|
|
"foreignKey": "ticketFk"
|
2018-03-16 14:06:42 +00:00
|
|
|
},
|
|
|
|
"observationType": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "ObservationType",
|
|
|
|
"foreignKey": "observationTypeFk",
|
|
|
|
"required": true
|
|
|
|
}
|
2018-03-12 12:55:18 +00:00
|
|
|
}
|
2018-03-16 14:06:42 +00:00
|
|
|
}
|