38 lines
781 B
JSON
38 lines
781 B
JSON
|
{
|
||
|
"name": "ClientDms",
|
||
|
"base": "Loggable",
|
||
|
"log": {
|
||
|
"model": "ClientLog",
|
||
|
"relation": "ticket",
|
||
|
"showField": "dmsFk"
|
||
|
},
|
||
|
"options": {
|
||
|
"mysql": {
|
||
|
"table": "clientDms"
|
||
|
}
|
||
|
},
|
||
|
"properties": {
|
||
|
"clientFk": {
|
||
|
"type": "Number",
|
||
|
"id": true,
|
||
|
"required": true
|
||
|
},
|
||
|
"dmsFk": {
|
||
|
"type": "Number",
|
||
|
"id": true,
|
||
|
"required": true
|
||
|
}
|
||
|
},
|
||
|
"relations": {
|
||
|
"client": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "Client",
|
||
|
"foreignKey": "clientFk"
|
||
|
},
|
||
|
"dms": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "Dms",
|
||
|
"foreignKey": "dmsFk"
|
||
|
}
|
||
|
}
|
||
|
}
|