{
    "table": {
        "name": "vnd_aux_fechamento_caixa"
    },
    "attributes": {
        "terminal_ip": {
            "type": "string",
            "maxlen": 20
        },
        "sequencia": {
            "type": "integer"
        },
        "filial": {
            "type": "integer"
        },
        "data": {
            "type": "datetime"
        },
        "caixa": {
            "type": "integer"
        },
        "abertura": {
            "type": "integer"
        },
        "usuario": {
            "type": "integer"
        },
        "documento": {
            "type": "integer"
        },
        "tipo_documento": {
            "type": "string",
            "maxlen": 2
        },
        "cliente_fornecedor": {
            "type": "integer"
        },
        "tipo_pagamento": {
            "type": "integer"
        },
        "tipo_operacao_financeira": {
            "type": "integer"
        },
        "valor": {
            "type": "integer"
        },
        "observacao": {
            "type": "string",
            "maxlen": 300
        },
        "centro_custo": {
            "type": "integer"
        },
        "tipo_pagamento_cliente_fornecedor": {
            "type": "integer"
        },
        "valor_caixa": {
            "type": "integer"
        },
        "parcela": {
            "type": "integer"
        }
    },
    "originaltable": {
        "fullname": "public.vnd_aux_fechamento_caixa",
        "name": "vnd_aux_fechamento_caixa",
        "relationship": false,
        "columns": {
            "terminal_ip": {
                "position": 1,
                "name": "terminal_ip",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 20,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "sequencia": {
                "position": 2,
                "name": "sequencia",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "filial": {
                "position": 3,
                "name": "filial",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "data": {
                "position": 4,
                "name": "data",
                "type": "date",
                "nullable": "NO",
                "maxlen": null,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "caixa": {
                "position": 5,
                "name": "caixa",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "abertura": {
                "position": 6,
                "name": "abertura",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "usuario": {
                "position": 7,
                "name": "usuario",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "documento": {
                "position": 8,
                "name": "documento",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "tipo_documento": {
                "position": 9,
                "name": "tipo_documento",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 2,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "cliente_fornecedor": {
                "position": 10,
                "name": "cliente_fornecedor",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "tipo_pagamento": {
                "position": 11,
                "name": "tipo_pagamento",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "tipo_operacao_financeira": {
                "position": 12,
                "name": "tipo_operacao_financeira",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "valor": {
                "position": 13,
                "name": "valor",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "observacao": {
                "position": 14,
                "name": "observacao",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 300,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "centro_custo": {
                "position": 15,
                "name": "centro_custo",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "tipo_pagamento_cliente_fornecedor": {
                "position": 16,
                "name": "tipo_pagamento_cliente_fornecedor",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "valor_caixa": {
                "position": 17,
                "name": "valor_caixa",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "parcela": {
                "position": 18,
                "name": "parcela",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            }
        },
        "constraints": [],
        "relationships": {
            "one-to-one": [],
            "one-to-many": [],
            "many-to-one": [],
            "many-to-many": []
        }
    }
}