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-08-08 06:37:03 +00:00
|
|
|
},
|
2019-05-23 07:30:29 +00:00
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "clientDms"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
2019-05-28 09:26:54 +00:00
|
|
|
"dmsFk": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2019-05-23 07:30:29 +00:00
|
|
|
"id": true,
|
|
|
|
"required": true
|
|
|
|
},
|
2019-05-28 09:26:54 +00:00
|
|
|
"clientFk": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2019-05-23 07:30:29 +00:00
|
|
|
"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
|
|
|
}
|
|
|
|
|