2018-03-12 12:55:18 +00:00
|
|
|
{
|
|
|
|
"name": "TicketObservation",
|
2019-03-29 06:36:26 +00:00
|
|
|
"base": "Loggable",
|
|
|
|
"log": {
|
|
|
|
"model": "TicketLog",
|
|
|
|
"relation": "ticket"
|
|
|
|
},
|
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,
|
|
|
|
"type": "Number",
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "String",
|
|
|
|
"required": true
|
|
|
|
}
|
2018-03-12 12:55:18 +00:00
|
|
|
},
|
|
|
|
"relations": {
|
2018-03-16 14:06:42 +00:00
|
|
|
"ticket": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Ticket",
|
|
|
|
"foreignKey": "ticketFk",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"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
|
|
|
}
|