50 lines
966 B
JSON
50 lines
966 B
JSON
{
|
|
"name": "SupplierAccount",
|
|
"base": "VnModel",
|
|
"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"
|
|
}
|
|
}
|
|
} |