salix/modules/supplier/back/models/supplier-account.json

44 lines
865 B
JSON
Raw Normal View History

2020-12-14 15:09:17 +00:00
{
"name": "SupplierAccount",
2021-01-15 12:57:36 +00:00
"base": "Loggable",
"log": {
"model":"SupplierLog",
"relation": "supplier"
},
2020-12-14 15:09:17 +00:00
"options": {
"mysql": {
"table": "supplierAccount"
}
},
"properties": {
"id": {
"type": "Number",
"id": true,
"description": "Identifier"
},
"supplierFk": {
"type": "Number"
},
"iban": {
"type": "String"
},
2021-03-31 05:33:00 +00:00
"beneficiary": {
2020-12-14 15:09:17 +00:00
"type": "String"
},
"bankEntityFk": {
"type": "Number"
}
},
"relations": {
"supplier": {
"type": "belongsTo",
"model": "Supplier",
"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
}
}
}