{
    "table": {
        "name": "pla_preco_mercado"
    },
    "attributes": {
        "filial": {
            "type": "integer"
        },
        "ano": {
            "type": "integer"
        },
        "mes": {
            "type": "integer"
        },
        "tabela": {
            "type": "integer"
        },
        "produto": {
            "type": "integer"
        },
        "quantidade": {
            "type": "integer"
        },
        "data_ultima_compra": {
            "type": "datetime"
        },
        "preco_ultima_compra": {
            "type": "integer"
        },
        "preco_digitado": {
            "type": "integer"
        }
    },
    "originaltable": {
        "fullname": "public.pla_preco_mercado",
        "name": "pla_preco_mercado",
        "relationship": false,
        "columns": {
            "filial": {
                "position": 1,
                "name": "filial",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "ano": {
                "position": 2,
                "name": "ano",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "mes": {
                "position": 3,
                "name": "mes",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "tabela": {
                "position": 4,
                "name": "tabela",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": {
                    "column_name": "tabela",
                    "foreign_table_name": "pla_preco_mercado_tabela",
                    "foreign_column_name": "tabela"
                }
            },
            "produto": {
                "position": 5,
                "name": "produto",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "quantidade": {
                "position": 6,
                "name": "quantidade",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "data_ultima_compra": {
                "position": 7,
                "name": "data_ultima_compra",
                "type": "date",
                "nullable": "NO",
                "maxlen": null,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "preco_ultima_compra": {
                "position": 8,
                "name": "preco_ultima_compra",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "preco_digitado": {
                "position": 9,
                "name": "preco_digitado",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            }
        },
        "constraints": [],
        "relationships": {
            "one-to-one": [],
            "one-to-many": [],
            "many-to-one": [
                {
                    "name": "tabela",
                    "to": "pla_preco_mercado_tabela",
                    "to_attribute": "tabela"
                }
            ],
            "many-to-many": []
        },
        "foreignkeys": [
            {
                "column_name": "tabela",
                "foreign_table_name": "pla_preco_mercado_tabela",
                "foreign_column_name": "tabela"
            }
        ]
    }
}