30 lines
537 B
JSON
30 lines
537 B
JSON
{
|
|
"name": "BankEntity",
|
|
"base": "VnModel",
|
|
"options": {
|
|
"mysql": {
|
|
"table": "bankEntity",
|
|
"database": "vn"
|
|
}
|
|
},
|
|
"properties": {
|
|
"id": {
|
|
"type": "Number",
|
|
"id": true,
|
|
"description": "Identifier"
|
|
},
|
|
"bic": {
|
|
"type": "String"
|
|
},
|
|
"name": {
|
|
"type": "String"
|
|
}
|
|
},
|
|
"relations": {
|
|
"country": {
|
|
"type": "belongsTo",
|
|
"model": "Country",
|
|
"foreignKey": "countryFk"
|
|
}
|
|
}
|
|
} |