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

50 lines
1.0 KiB
JSON
Raw Permalink Normal View History

2022-02-16 09:30:56 +00:00
{
"name": "InvoiceInIntrastat",
"base": "VnModel",
"options": {
"mysql": {
"table": "invoiceInIntrastat"
}
},
"properties": {
"id": {
"id": true,
"type": "number",
"description": "Identifier"
},
"invoiceInFk": {
"type": "number"
},
"net": {
"type": "number"
},
"intrastatFk": {
"type": "number"
},
"amount": {
"type": "number"
},
"stems": {
"type": "number"
},
"countryFk": {
"type": "number"
},
"statisticalValue": {
"type": "number"
}
},
"relations": {
"intrastat": {
"type": "belongsTo",
"model": "Intrastat",
"foreignKey": "intrastatFk"
},
"country": {
"type": "belongsTo",
"model": "Country",
"foreignKey": "countryFk"
}
}
}