2023-04-11 12:57:56 +00:00
|
|
|
{
|
|
|
|
"name": "ClientInforma",
|
2023-12-05 06:48:56 +00:00
|
|
|
"base": "VnModel",
|
|
|
|
"mixins": {
|
|
|
|
"Loggable": true
|
|
|
|
},
|
2023-04-11 12:57:56 +00:00
|
|
|
"log": {
|
|
|
|
"model":"ClientLog",
|
|
|
|
"relation": "client",
|
|
|
|
"showField": "clientFk"
|
|
|
|
},
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "clientInforma"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "number",
|
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"rating": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"recommendedCredit": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"created": {
|
|
|
|
"type": "date"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"worker": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Worker",
|
|
|
|
"foreignKey": "workerFk"
|
|
|
|
},
|
|
|
|
"client": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Client",
|
|
|
|
"foreignKey": "clientFk"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|