{
    "table": {
        "name": "pla_aux_orcamento_catering"
    },
    "attributes": {
        "filial": {
            "type": "integer"
        },
        "terminal_ip": {
            "type": "string",
            "maxlen": 15
        },
        "sequencia": {
            "type": "integer"
        },
        "planej": {
            "type": "integer"
        },
        "cliente": {
            "type": "integer"
        },
        "pla_refeicao": {
            "type": "integer"
        },
        "pla_servico": {
            "type": "integer"
        },
        "pla_semi": {
            "type": "integer"
        },
        "pla_produto": {
            "type": "integer"
        },
        "tipo_prato": {
            "type": "integer"
        },
        "item_semi": {
            "type": "integer"
        },
        "item_semi_descricao": {
            "type": "string",
            "maxlen": 50
        },
        "item_produto": {
            "type": "integer"
        },
        "item_produto_descricao": {
            "type": "string",
            "maxlen": 50
        },
        "unidade": {
            "type": "string",
            "maxlen": 4
        },
        "gramatura_quantidade": {
            "type": "integer"
        },
        "fator": {
            "type": "integer"
        },
        "celula_producao": {
            "type": "integer"
        },
        "porcentagem_refeicao": {
            "type": "integer"
        },
        "abordamento": {
            "type": "integer"
        },
        "nivel": {
            "type": "integer"
        },
        "nivel_sequencia": {
            "type": "integer"
        }
    },
    "originaltable": {
        "fullname": "public.pla_aux_orcamento_catering",
        "name": "pla_aux_orcamento_catering",
        "relationship": false,
        "columns": {
            "filial": {
                "position": 1,
                "name": "filial",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "terminal_ip": {
                "position": 2,
                "name": "terminal_ip",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 15,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "sequencia": {
                "position": 3,
                "name": "sequencia",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "planej": {
                "position": 4,
                "name": "planej",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "cliente": {
                "position": 5,
                "name": "cliente",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "pla_refeicao": {
                "position": 6,
                "name": "pla_refeicao",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "pla_servico": {
                "position": 7,
                "name": "pla_servico",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "pla_semi": {
                "position": 8,
                "name": "pla_semi",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "pla_produto": {
                "position": 9,
                "name": "pla_produto",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "tipo_prato": {
                "position": 10,
                "name": "tipo_prato",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "item_semi": {
                "position": 11,
                "name": "item_semi",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "item_semi_descricao": {
                "position": 12,
                "name": "item_semi_descricao",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 50,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "item_produto": {
                "position": 13,
                "name": "item_produto",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "item_produto_descricao": {
                "position": 14,
                "name": "item_produto_descricao",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 50,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "unidade": {
                "position": 15,
                "name": "unidade",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 4,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "gramatura_quantidade": {
                "position": 16,
                "name": "gramatura_quantidade",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "fator": {
                "position": 17,
                "name": "fator",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "celula_producao": {
                "position": 18,
                "name": "celula_producao",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "porcentagem_refeicao": {
                "position": 19,
                "name": "porcentagem_refeicao",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "abordamento": {
                "position": 20,
                "name": "abordamento",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "nivel": {
                "position": 21,
                "name": "nivel",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "nivel_sequencia": {
                "position": 22,
                "name": "nivel_sequencia",
                "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": []
        }
    }
}