salix/modules/ticket/back/models/ticket-dms.json

32 lines
604 B
JSON
Raw Permalink Normal View History

2019-04-25 16:30:11 +00:00
{
"name": "TicketDms",
"base": "VnModel",
"mixins": {
"Loggable": true
},
2019-04-25 16:30:11 +00:00
"options": {
"mysql": {
"table": "ticketDms"
}
},
"properties": {
"dmsFk": {
2021-06-28 11:30:49 +00:00
"type": "number",
2019-04-25 16:30:11 +00:00
"id": true,
"required": true
}
},
"relations": {
"ticket": {
"type": "belongsTo",
"model": "Ticket",
"foreignKey": "ticketFk"
},
"dms": {
"type": "belongsTo",
"model": "Dms",
"foreignKey": "dmsFk"
}
}
}