{
    "table": {
        "name": "dis_aux_romaneio_item"
    },
    "attributes": {
        "ip": {
            "type": "string",
            "maxlen": 15
        },
        "filial": {
            "type": "integer"
        },
        "orcamento": {
            "type": "integer"
        },
        "seq_item_orcamento": {
            "type": "integer"
        },
        "qtd_a_entregar": {
            "type": "integer"
        },
        "cod_cliente": {
            "type": "integer"
        },
        "seq_cliente_endereco": {
            "type": "integer"
        }
    },
    "originaltable": {
        "fullname": "public.dis_aux_romaneio_item",
        "name": "dis_aux_romaneio_item",
        "relationship": false,
        "columns": {
            "ip": {
                "position": 1,
                "name": "ip",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 15,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "filial": {
                "position": 2,
                "name": "filial",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": {
                    "column_name": "filial",
                    "foreign_table_name": "vnd_orcamento",
                    "foreign_column_name": "filial_orc"
                }
            },
            "orcamento": {
                "position": 3,
                "name": "orcamento",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": {
                    "column_name": "orcamento",
                    "foreign_table_name": "vnd_orcamento",
                    "foreign_column_name": "filial_orc"
                }
            },
            "seq_item_orcamento": {
                "position": 4,
                "name": "seq_item_orcamento",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "qtd_a_entregar": {
                "position": 5,
                "name": "qtd_a_entregar",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 10,
                "interval": null,
                "foreignkey": null
            },
            "cod_cliente": {
                "position": 6,
                "name": "cod_cliente",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "seq_cliente_endereco": {
                "position": 7,
                "name": "seq_cliente_endereco",
                "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": [
                {
                    "name": "orcamento",
                    "to": "vnd_orcamento",
                    "to_attribute": "orcamento"
                },
                {
                    "name": "filial",
                    "to": "vnd_orcamento",
                    "to_attribute": "orcamento"
                },
                {
                    "name": "orcamento",
                    "to": "vnd_orcamento",
                    "to_attribute": "filial_orc"
                },
                {
                    "name": "filial",
                    "to": "vnd_orcamento",
                    "to_attribute": "filial_orc"
                }
            ],
            "many-to-many": []
        },
        "foreignkeys": [
            {
                "column_name": "orcamento",
                "foreign_table_name": "vnd_orcamento",
                "foreign_column_name": "orcamento"
            },
            {
                "column_name": "filial",
                "foreign_table_name": "vnd_orcamento",
                "foreign_column_name": "orcamento"
            },
            {
                "column_name": "orcamento",
                "foreign_table_name": "vnd_orcamento",
                "foreign_column_name": "filial_orc"
            },
            {
                "column_name": "filial",
                "foreign_table_name": "vnd_orcamento",
                "foreign_column_name": "filial_orc"
            }
        ]
    }
}