2020-12-14 15:09:17 +00:00
|
|
|
{
|
|
|
|
"name": "SupplierAccount",
|
2023-12-05 06:48:56 +00:00
|
|
|
"base": "VnModel",
|
|
|
|
"mixins": {
|
|
|
|
"Loggable": true
|
|
|
|
},
|
2020-12-14 15:09:17 +00:00
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2021-04-01 16:38:40 +00:00
|
|
|
"table": "supplierAccount"
|
2020-12-14 15:09:17 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2020-12-14 15:09:17 +00:00
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"iban": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "string"
|
2020-12-14 15:09:17 +00:00
|
|
|
},
|
2021-03-31 05:33:00 +00:00
|
|
|
"beneficiary": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "string"
|
2020-12-14 15:09:17 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"supplier": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Supplier",
|
2021-04-01 15:36:27 +00:00
|
|
|
"foreignKey": "supplierFk"
|
2021-01-07 14:14:38 +00:00
|
|
|
},
|
|
|
|
"bankEntity": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "BankEntity",
|
|
|
|
"foreignKey": "bankEntityFk"
|
2020-12-14 15:09:17 +00:00
|
|
|
}
|
|
|
|
}
|
2023-04-12 10:33:14 +00:00
|
|
|
}
|