{
    "name": "InvoiceOutSerial",
    "base": "VnModel",
    "options": {
        "mysql": {
          "table": "invoiceOutSerial"
        }
    },
    "properties": {
        "code": {
            "type": "string",
            "id": true,
            "description": "Identifier"
        },
        "description": {
            "type": "string"
        },
        "isTaxed": {
            "type": "boolean"
        },
        "isCEE": {
            "type": "boolean"
        }
    },
    "relations": {
        "taxArea": {
            "type": "belongsTo",
            "model": "TaxArea",
            "foreignKey": "taxAreaFk"
        }
    },
    "acls": [{
        "accessType": "READ",
        "principalType": "ROLE",
        "principalId": "$everyone",
        "permission": "ALLOW"
    }]
}