{
    "name": "Travel",
    "base": "VnModel",
    "options": {
        "mysql": {
        "table": "travel"
        }
    },
    "properties": {
        "id": {
            "type": "Number",
            "id": true,
            "description": "Identifier"
        },
        "shipped": {
            "type": "date"
        },
        "landed": {
            "type": "date"
        },
        "isDelivered": {
            "type": "Boolean"
        },
        "isReceived": {
            "type": "Boolean"
        },
        "ref": {
            "type": "String"
        },
        "totalEntries": {
            "type": "Number"
        }
    },
    "relations": {
        "agency": {
            "type": "belongsTo",
            "model": "Agency",
            "foreignKey": "agencyFk"
        },
        "warehouseIn": {
            "type": "belongsTo",
            "model": "Warehouse",
            "foreignKey": "warehouseInFk"
        },
        "warehouseOut": {
            "type": "belongsTo",
            "model": "Warehouse",
            "foreignKey": "warehouseOutFk"
        }
    }
}