salix/back/models/bank-entity.json

29 lines
519 B
JSON

{
"name": "BankEntity",
"base": "VnModel",
"options": {
"mysql": {
"table": "bankEntity"
}
},
"properties": {
"id": {
"type": "number",
"id": true,
"description": "Identifier"
},
"bic": {
"type": "string"
},
"name": {
"type": "string"
}
},
"relations": {
"country": {
"type": "belongsTo",
"model": "Country",
"foreignKey": "countryFk"
}
}
}