{
    "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"
        }
    }
    
}