38 lines
717 B
JSON
38 lines
717 B
JSON
{
|
|
"name": "SupplierAccount",
|
|
"base": "VnModel",
|
|
"mixins": {
|
|
"Loggable": true
|
|
},
|
|
"options": {
|
|
"mysql": {
|
|
"table": "supplierAccount"
|
|
}
|
|
},
|
|
"properties": {
|
|
"id": {
|
|
"type": "number",
|
|
"id": true,
|
|
"description": "Identifier"
|
|
},
|
|
"iban": {
|
|
"type": "string"
|
|
},
|
|
"beneficiary": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"relations": {
|
|
"supplier": {
|
|
"type": "belongsTo",
|
|
"model": "Supplier",
|
|
"foreignKey": "supplierFk"
|
|
},
|
|
"bankEntity": {
|
|
"type": "belongsTo",
|
|
"model": "BankEntity",
|
|
"foreignKey": "bankEntityFk"
|
|
}
|
|
}
|
|
}
|