salix/services/client/common/models/credit-insurance.json

36 lines
596 B
JSON
Raw Normal View History

{
"name": "CreditInsurance",
"description": "Credit insurance",
"base": "VnModel",
"options": {
"mysql": {
"table": "creditInsurance"
}
},
"properties": {
"id": {
"id": true,
"type": "Number",
"description": "Identifier"
},
"credit": {
"type": "Number"
},
"created": {
"type": "date",
"mysql": {
"columnName": "creationDate"
}
},
"grade": {
"type": "Number"
}
},
"relations": {
"classification": {
"type": "belongsTo",
"model": "CreditClassification",
"foreignKey": "creditClassification"
}
}
}