{
    "name": "TpvTransaction",
    "base": "VnModel",
    "options": {
        "mysql": {
          "table": "hedera.tpvTransaction"
        }
    },
    "properties": {
        "id": {
            "type": "number",
            "id": true,
            "description": "Identifier"
        },
        "merchantFk": {
            "type": "number"
        },
        "clientFk": {
            "type": "number"
        },
        "receiptFk": {
            "type": "number"
        },
        "amount": {
            "type": "number"
        },
        "response": {
            "type": "number"
        },
        "errorCode": {
            "type": "string"
        },
        "status": {
            "type": "string"
        },
        "created": {
            "type": "date"
        }
    },
    "relations": {
        "client": {
            "type": "belongsTo",
            "model": "Client",
            "foreignKey": "clientFk"
        }
    }
}