salix/back/models/bank-entity.json

29 lines
519 B
JSON
Raw Permalink Normal View History

2018-10-16 11:06:58 +00:00
{
"name": "BankEntity",
"base": "VnModel",
"options": {
"mysql": {
2018-12-17 10:28:39 +00:00
"table": "bankEntity"
2018-10-16 11:06:58 +00:00
}
},
"properties": {
"id": {
"type": "Number",
"id": true,
"description": "Identifier"
},
"bic": {
2019-11-28 11:54:34 +00:00
"type": "String"
2018-10-16 11:06:58 +00:00
},
"name": {
"type": "String"
}
},
"relations": {
"country": {
"type": "belongsTo",
"model": "Country",
"foreignKey": "countryFk"
}
}
}