salix/modules/client/back/models/client-risk.json

34 lines
689 B
JSON
Raw Permalink Normal View History

2018-10-16 06:36:25 +00:00
{
"name": "ClientRisk",
"base": "VnModel",
"options": {
2022-05-12 06:06:30 +00:00
"mysql": {
"table": "clientRisk"
}
2018-10-16 06:36:25 +00:00
},
"properties": {
2022-05-12 06:06:30 +00:00
"clientFk": {
2022-05-12 07:47:47 +00:00
"type": "number",
2022-05-12 06:06:30 +00:00
"id": true
},
"companyFk": {
2022-05-12 07:47:47 +00:00
"type": "number",
2022-05-12 06:06:30 +00:00
"id": true
},
"amount": {
2022-05-12 07:47:47 +00:00
"type": "number"
2022-05-12 06:06:30 +00:00
}
2018-10-16 06:36:25 +00:00
},
"relations": {
"client": {
"type": "belongsTo",
"model": "Client",
"foreignKey": "clientFk"
},
"company": {
"type": "belongsTo",
"model": "Company",
"foreignKey": "companyFk"
}
}
2022-05-12 06:06:30 +00:00
}