2019-05-23 07:30:29 +00:00
|
|
|
{
|
|
|
|
"name": "ClientDms",
|
|
|
|
"base": "Loggable",
|
2019-05-28 09:26:54 +00:00
|
|
|
"log": {
|
|
|
|
"model":"ClientLog",
|
|
|
|
"relation": "client",
|
2019-05-23 07:30:29 +00:00
|
|
|
"showField": "dmsFk"
|
2019-05-28 09:26:54 +00:00
|
|
|
},
|
2019-05-23 07:30:29 +00:00
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "clientDms"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
2019-05-28 09:26:54 +00:00
|
|
|
"dmsFk": {
|
2019-05-23 07:30:29 +00:00
|
|
|
"type": "Number",
|
|
|
|
"id": true,
|
|
|
|
"required": true
|
|
|
|
},
|
2019-05-28 09:26:54 +00:00
|
|
|
"clientFk": {
|
2019-05-23 07:30:29 +00:00
|
|
|
"type": "Number",
|
|
|
|
"required": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"client": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Client",
|
|
|
|
"foreignKey": "clientFk"
|
|
|
|
},
|
|
|
|
"dms": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Dms",
|
|
|
|
"foreignKey": "dmsFk"
|
|
|
|
}
|
|
|
|
}
|
2019-05-28 09:26:54 +00:00
|
|
|
}
|
|
|
|
|