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": {
|
2022-01-25 13:27:30 +00:00
|
|
|
"id": {
|
|
|
|
"type": "Number"
|
|
|
|
},
|
2018-10-11 08:56:28 +00:00
|
|
|
"created": {
|
|
|
|
"type": "Date"
|
|
|
|
},
|
|
|
|
"amount": {
|
|
|
|
"type": "Number"
|
|
|
|
},
|
|
|
|
"defaulterSinced": {
|
|
|
|
"type": "Number"
|
|
|
|
},
|
|
|
|
"hasChanged": {
|
|
|
|
"type": "Number"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"client": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Client",
|
|
|
|
"foreignKey": "clientFk"
|
|
|
|
}
|
2019-06-26 10:18:47 +00:00
|
|
|
}
|
2018-10-11 08:56:28 +00:00
|
|
|
}
|