salix/modules/client/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"
}
}
}