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

31 lines
529 B
JSON
Raw Normal View History

{
"name": "CreditClassification",
"description": "Clasified clients",
2017-10-11 13:36:47 +00:00
"base": "VnModel",
"options": {
"mysql": {
"table": "creditClassification"
}
},
"properties": {
"id": {
"id": true,
"type": "Number",
"description": "Identifier"
},
"dateStart": {
"type": "date",
"required": true
},
"dateEnd": {
"type": "date"
}
},
"relations": {
"client": {
"type": "belongsTo",
"model": "Client",
"foreignKey": "client"
}
2017-10-11 13:36:47 +00:00
}
}