salix/modules/ticket/back/models/ticket-last-state.json

34 lines
702 B
JSON

{
"name": "TicketLastState",
"base": "VnModel",
"options": {
"mysql": {
"table": "ticketLastState"
}
},
"properties": {
"name": {
"type": "string"
},
"ticketFk": {
"id": true,
"type": "Number"
},
"ticketTrackingFk": {
"type": "Number"
}
},
"relations": {
"ticket": {
"type": "belongsTo",
"model": "Ticket",
"foreignKey": "ticketFk"
},
"ticketTracking": {
"type": "belongsTo",
"model": "TicketTracking",
"foreignKey": "ticketTrackingFk"
}
}
}