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": {
2022-05-12 07:47:47 +00:00
"type": "number",
2018-10-16 11:06:58 +00:00
"id": true,
"description": "Identifier"
},
"bic": {
2022-05-12 07:47:47 +00:00
"type": "string"
2018-10-16 11:06:58 +00:00
},
"name": {
2022-05-12 07:47:47 +00:00
"type": "string"
2018-10-16 11:06:58 +00:00
}
},
"relations": {
"country": {
"type": "belongsTo",
"model": "Country",
"foreignKey": "countryFk"
}
}
}