2018-10-11 08:56:28 +00:00
|
|
|
{
|
|
|
|
"name": "Defaulter",
|
|
|
|
"description": "defaulters client",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2018-12-17 10:28:39 +00:00
|
|
|
"table": "defaulter"
|
2018-10-11 08:56:28 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"created": {
|
|
|
|
"type": "Date"
|
|
|
|
},
|
|
|
|
"amount": {
|
|
|
|
"type": "Number"
|
|
|
|
},
|
|
|
|
"defaulterSinced": {
|
|
|
|
"type": "Number"
|
|
|
|
},
|
|
|
|
"hasChanged": {
|
|
|
|
"type": "Number"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"client": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Client",
|
|
|
|
"foreignKey": "clientFk"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|