2017-09-27 15:44:51 +00:00
|
|
|
{
|
|
|
|
"name": "CreditClassification",
|
2018-01-29 18:57:00 +00:00
|
|
|
"description": "Clasified clients",
|
2017-10-11 13:36:47 +00:00
|
|
|
"base": "VnModel",
|
2018-01-29 11:37:54 +00:00
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "creditClassification"
|
|
|
|
}
|
|
|
|
},
|
2017-09-27 15:44:51 +00:00
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"id": true,
|
|
|
|
"type": "Number",
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"started": {
|
|
|
|
"type": "date"
|
|
|
|
},
|
|
|
|
"ended": {
|
|
|
|
"type": "date"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"client": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Client",
|
|
|
|
"foreignKey": "clientFk"
|
|
|
|
}
|
2017-10-11 13:36:47 +00:00
|
|
|
}
|
2017-09-27 15:44:51 +00:00
|
|
|
}
|