2018-10-05 11:04:41 +00:00
|
|
|
{
|
2024-03-05 09:25:23 +00:00
|
|
|
"name": "Accounting",
|
2018-10-05 11:04:41 +00:00
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
2020-08-27 06:24:21 +00:00
|
|
|
"mysql": {
|
2024-03-05 09:25:23 +00:00
|
|
|
"table": "accounting"
|
2020-08-27 06:24:21 +00:00
|
|
|
}
|
2018-10-05 11:04:41 +00:00
|
|
|
},
|
|
|
|
"properties": {
|
2020-08-27 06:24:21 +00:00
|
|
|
"id": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2020-08-27 06:24:21 +00:00
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"bank": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "string",
|
2020-08-27 06:24:21 +00:00
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"account": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "string",
|
2020-08-27 06:24:21 +00:00
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"accountingTypeFk": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2024-03-05 09:25:23 +00:00
|
|
|
"required": true
|
2020-08-27 06:24:21 +00:00
|
|
|
},
|
|
|
|
"entityFk": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2020-08-27 06:24:21 +00:00
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"isActive": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "boolean",
|
2020-08-27 06:24:21 +00:00
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"currencyFk": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2020-08-27 06:24:21 +00:00
|
|
|
"required": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"accountingType": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "AccountingType",
|
|
|
|
"foreignKey": "accountingTypeFk"
|
|
|
|
}
|
2018-10-05 11:04:41 +00:00
|
|
|
}
|
2020-08-27 06:24:21 +00:00
|
|
|
}
|