hedera-web/back/common/models/ticket-tracking.json

33 lines
476 B
JSON
Raw Normal View History

2019-06-25 08:23:12 +00:00
{
"name": "TicketTracking",
"base": "PersistedModel",
"options": {
"mysql": {
"table": "ticketTracking"
}
},
"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"
}
}
}