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

59 lines
1.1 KiB
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"
},
"office": {
"type": "String"
},
"DC": {
"type": "String"
},
"number": {
"type": "String"
},
"description": {
"type": "String"
},
"bicSufix": {
"type": "String"
},
"bankEntityFk": {
"type": "Number"
},
"bankFk": {
"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
}
}
}