{
    "table": {
        "name": "prd_aux_resum_producao"
    },
    "attributes": {
        "terminal_ip": {
            "type": "string",
            "maxlen": 15
        },
        "filial": {
            "type": "integer"
        },
        "produto": {
            "type": "integer"
        },
        "descricao": {
            "type": "string",
            "maxlen": 100
        },
        "unidade": {
            "type": "string",
            "maxlen": 4
        },
        "stq_anter": {
            "type": "integer"
        },
        "planejado": {
            "type": "integer"
        },
        "produzido": {
            "type": "integer"
        },
        "perda": {
            "type": "integer"
        },
        "cancelado": {
            "type": "integer"
        },
        "faturado": {
            "type": "integer"
        },
        "stq_prev": {
            "type": "integer"
        },
        "stq_atu": {
            "type": "integer"
        }
    },
    "originaltable": {
        "fullname": "public.prd_aux_resum_producao",
        "name": "prd_aux_resum_producao",
        "relationship": false,
        "columns": {
            "terminal_ip": {
                "position": 1,
                "name": "terminal_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": null
            },
            "produto": {
                "position": 3,
                "name": "produto",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "descricao": {
                "position": 4,
                "name": "descricao",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 100,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "unidade": {
                "position": 5,
                "name": "unidade",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 4,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "stq_anter": {
                "position": 6,
                "name": "stq_anter",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "planejado": {
                "position": 7,
                "name": "planejado",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "produzido": {
                "position": 8,
                "name": "produzido",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "perda": {
                "position": 9,
                "name": "perda",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "cancelado": {
                "position": 10,
                "name": "cancelado",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "faturado": {
                "position": 11,
                "name": "faturado",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "stq_prev": {
                "position": 12,
                "name": "stq_prev",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "stq_atu": {
                "position": 13,
                "name": "stq_atu",
                "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": [],
            "many-to-many": []
        }
    }
}