salix/modules/client/back/models/defaulter.json

45 lines
762 B
JSON
Raw Permalink Normal View History

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": {
"id": {
2022-05-12 07:47:47 +00:00
"type": "number"
},
2018-10-11 08:56:28 +00:00
"created": {
"type": "date"
2018-10-11 08:56:28 +00:00
},
"amount": {
2022-05-12 07:47:47 +00:00
"type": "number"
2018-10-11 08:56:28 +00:00
},
"defaulterSinced": {
2022-05-12 07:47:47 +00:00
"type": "number"
2018-10-11 08:56:28 +00:00
},
"hasChanged": {
2022-05-12 07:47:47 +00:00
"type": "number"
2018-10-11 08:56:28 +00:00
}
},
"relations": {
"client": {
"type": "belongsTo",
"model": "Client",
"foreignKey": "clientFk"
2023-05-23 09:26:31 +00:00
},
"country": {
"type": "belongsTo",
"model": "Country",
"foreignKey": "countryFk"
2023-05-23 09:26:31 +00:00
},
"payMethod": {
"type": "belongsTo",
"model": "PayMethod",
2023-05-23 11:23:46 +00:00
"foreignKey": "payMethod"
2018-10-11 08:56:28 +00:00
}
}
}