salix/modules/invoiceIn/back/models/invoice-in-tax.json

55 lines
1.2 KiB
JSON
Raw Permalink Normal View History

2021-06-08 06:04:38 +00:00
{
2021-06-09 08:20:18 +00:00
"name": "InvoiceInTax",
"base": "VnModel",
"mixins": {
"Loggable": true
},
2021-06-08 06:04:38 +00:00
"options": {
"mysql": {
2021-06-09 08:20:18 +00:00
"table": "invoiceInTax"
2021-06-08 06:04:38 +00:00
}
},
"properties": {
"id": {
"id": true,
2021-06-30 06:26:03 +00:00
"type": "number",
2021-06-08 06:04:38 +00:00
"description": "Identifier"
},
"taxableBase": {
"type": "number"
},
"foreignValue": {
"type": "number"
},
2021-06-09 08:20:18 +00:00
"expenseFk": {
2023-11-27 08:51:56 +00:00
"type": "number"
2021-06-09 08:20:18 +00:00
},
2021-06-08 06:04:38 +00:00
"created": {
"type": "date"
}
2021-07-23 12:06:48 +00:00
2021-06-08 06:04:38 +00:00
},
"relations": {
"invoiceIn": {
"type": "belongsTo",
"model": "InvoiceIn",
"foreignKey": "invoiceInFk"
},
2021-06-09 08:20:18 +00:00
"expense": {
2021-06-08 06:04:38 +00:00
"type": "belongsTo",
2021-06-09 08:20:18 +00:00
"model": "Expense",
"foreignKey": "expenseFk"
2021-06-08 06:04:38 +00:00
},
2021-06-09 08:20:18 +00:00
"taxTypeSage": {
2021-06-08 06:04:38 +00:00
"type": "belongsTo",
2021-06-14 07:47:04 +00:00
"model": "SageTaxType",
2021-06-08 06:04:38 +00:00
"foreignKey": "taxTypeSageFk"
},
"transactionTypeSage": {
"type": "belongsTo",
2021-06-14 07:47:04 +00:00
"model": "SageTransactionType",
2021-06-08 06:04:38 +00:00
"foreignKey": "transactionTypeSageFk"
}
}
}