{
    "name": "TicketPackaging",
    "base": "Loggable",
    "log": {
        "model": "TicketLog",
        "relation": "ticket"
    },
    "options": {
        "mysql": {
            "table": "ticketPackaging"
        }
    },
    "properties": {
        "id": {
            "id": true,
            "type": "Number",
            "description": "Identifier"
        },
        "quantity": {
            "type": "Number"
        },
        "created": {
            "type": "Date"
        },
        "pvp": {
            "type": "Number"
        }
    },
    "relations": {
        "ticket": {
            "type": "belongsTo",
            "model": "Ticket",
            "foreignKey": "ticketFk"
        },
        "packaging": {
            "type": "belongsTo",
            "model": "Packaging",
            "foreignKey": "packagingFk"
        }
    }
}