{
    "table": {
        "name": "vnd_aux_desconto_max"
    },
    "attributes": {
        "terminal_ip": {
            "type": "string",
            "maxlen": 15
        },
        "sequencia": {
            "type": "integer"
        },
        "filial": {
            "type": "integer"
        },
        "orcamento": {
            "type": "integer"
        },
        "vendedor": {
            "type": "integer"
        },
        "cliente": {
            "type": "integer"
        },
        "tipo_pgto": {
            "type": "integer"
        },
        "produto": {
            "type": "integer"
        },
        "vlr_vnd_total": {
            "type": "integer"
        },
        "vlr_vnd_desconto": {
            "type": "integer"
        },
        "vlr_max_desconto": {
            "type": "integer"
        },
        "vlr_diferenca": {
            "type": "integer"
        },
        "ind_max_desconto": {
            "type": "integer"
        }
    },
    "originaltable": {
        "fullname": "public.vnd_aux_desconto_max",
        "name": "vnd_aux_desconto_max",
        "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
            },
            "sequencia": {
                "position": 2,
                "name": "sequencia",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "filial": {
                "position": 3,
                "name": "filial",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "orcamento": {
                "position": 4,
                "name": "orcamento",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "vendedor": {
                "position": 5,
                "name": "vendedor",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "cliente": {
                "position": 6,
                "name": "cliente",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "tipo_pgto": {
                "position": 7,
                "name": "tipo_pgto",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "produto": {
                "position": 8,
                "name": "produto",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "vlr_vnd_total": {
                "position": 9,
                "name": "vlr_vnd_total",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "vlr_vnd_desconto": {
                "position": 10,
                "name": "vlr_vnd_desconto",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "vlr_max_desconto": {
                "position": 11,
                "name": "vlr_max_desconto",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "vlr_diferenca": {
                "position": 12,
                "name": "vlr_diferenca",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "ind_max_desconto": {
                "position": 13,
                "name": "ind_max_desconto",
                "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": []
        }
    }
}