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

38 lines
717 B
JSON
Raw Normal View History

2020-12-14 15:09:17 +00:00
{
"name": "SupplierAccount",
"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
}
}
}