38 lines
748 B
JSON
38 lines
748 B
JSON
{
|
|
"name": "SupplierAccount",
|
|
"base": "Loggable",
|
|
"log": {
|
|
"model":"SupplierLog",
|
|
"relation": "supplier"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
} |