59 lines
1.1 KiB
JSON
59 lines
1.1 KiB
JSON
{
|
|
"name": "SupplierAccount",
|
|
"base": "Loggable",
|
|
"log": {
|
|
"model":"SupplierLog",
|
|
"relation": "supplier"
|
|
},
|
|
"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"
|
|
},
|
|
"bankEntity": {
|
|
"type": "belongsTo",
|
|
"model": "BankEntity",
|
|
"foreignKey": "bankEntityFk"
|
|
}
|
|
}
|
|
} |