salix/services/loopback/common/models/credit-classification.json

30 lines
506 B
JSON

{
"name": "CreditClassification",
"description": "Clasified clients",
"base": "VnModel",
"options": {
"mysql": {
"table": "creditClassification"
}
},
"properties": {
"id": {
"id": true,
"type": "Number",
"description": "Identifier"
},
"started": {
"type": "date"
},
"ended": {
"type": "date"
}
},
"relations": {
"client": {
"type": "belongsTo",
"model": "Client",
"foreignKey": "clientFk"
}
}
}