{
    "table": {
        "name": "stq_requis"
    },
    "attributes": {
        "filial_req": {
            "type": "integer"
        },
        "requisicao": {
            "type": "integer"
        },
        "almoxarifado": {
            "type": "integer"
        },
        "tipo_movto": {
            "type": "integer"
        },
        "filial_usu": {
            "type": "integer"
        },
        "usuario": {
            "type": "string",
            "maxlen": 10
        },
        "vlr_total": {
            "type": "integer"
        },
        "data_req": {
            "type": "datetime"
        },
        "hora_req": {
            "type": "string"
        },
        "observacao": {
            "type": "string",
            "maxlen": 300
        },
        "situacao": {
            "type": "string",
            "maxlen": 1
        },
        "cliente_destino": {
            "type": "integer"
        },
        "centro_custo": {
            "type": "integer"
        }
    },
    "originaltable": {
        "fullname": "public.stq_requis",
        "name": "stq_requis",
        "relationship": false,
        "columns": {
            "filial_req": {
                "position": 1,
                "name": "filial_req",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "requisicao": {
                "position": 2,
                "name": "requisicao",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "almoxarifado": {
                "position": 3,
                "name": "almoxarifado",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "tipo_movto": {
                "position": 4,
                "name": "tipo_movto",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": {
                    "column_name": "tipo_movto",
                    "foreign_table_name": "bas_tipo_mov",
                    "foreign_column_name": "codigo"
                }
            },
            "filial_usu": {
                "position": 5,
                "name": "filial_usu",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "usuario": {
                "position": 6,
                "name": "usuario",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 10,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "vlr_total": {
                "position": 7,
                "name": "vlr_total",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "data_req": {
                "position": 8,
                "name": "data_req",
                "type": "date",
                "nullable": "NO",
                "maxlen": null,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "hora_req": {
                "position": 9,
                "name": "hora_req",
                "type": "time without time zone",
                "nullable": "NO",
                "maxlen": null,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "observacao": {
                "position": 10,
                "name": "observacao",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 300,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "situacao": {
                "position": 11,
                "name": "situacao",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 1,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "cliente_destino": {
                "position": 12,
                "name": "cliente_destino",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "centro_custo": {
                "position": 13,
                "name": "centro_custo",
                "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": "tipo_movto",
                    "to": "bas_tipo_mov",
                    "to_attribute": "codigo"
                }
            ],
            "many-to-many": []
        },
        "foreignkeys": [
            {
                "column_name": "tipo_movto",
                "foreign_table_name": "bas_tipo_mov",
                "foreign_column_name": "codigo"
            }
        ]
    }
}