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

52 lines
1.1 KiB
JSON
Raw Normal View History

2021-06-08 06:04:38 +00:00
{
2021-06-09 08:20:18 +00:00
"name": "InvoiceInTax",
2021-06-08 06:04:38 +00:00
"base": "Loggable",
"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"
}
}
}