{
    "table": {
        "name": "log_btr_base_troca"
    },
    "attributes": {
        "filial": {
            "type": "integer"
        },
        "sequencia": {
            "type": "integer"
        },
        "filial_ant": {
            "type": "integer"
        },
        "sequencia_ant": {
            "type": "integer"
        },
        "orcamento_ant": {
            "type": "integer"
        },
        "produto_vendido_ant": {
            "type": "integer"
        },
        "qtd_vendido_ant": {
            "type": "integer"
        },
        "vlr_unitario_vendido_ant": {
            "type": "integer"
        },
        "vlr_total_vendido_ant": {
            "type": "integer"
        },
        "produto_base_troca_ant": {
            "type": "integer"
        },
        "qtd_base_troca_ant": {
            "type": "integer"
        },
        "vlr_unitario_base_troca_ant": {
            "type": "integer"
        },
        "vlr_total_base_troca_ant": {
            "type": "integer"
        },
        "situacao_ant": {
            "type": "string",
            "maxlen": 1
        },
        "data_baixa_ant": {
            "type": "datetime"
        },
        "observacao_ant": {
            "type": "string",
            "maxlen": 4000
        },
        "filial_atu": {
            "type": "integer"
        },
        "sequencia_atu": {
            "type": "integer"
        },
        "orcamento_atu": {
            "type": "integer"
        },
        "produto_vendido_atu": {
            "type": "integer"
        },
        "qtd_vendido_atu": {
            "type": "integer"
        },
        "vlr_unitario_vendido_atu": {
            "type": "integer"
        },
        "vlr_total_vendido_atu": {
            "type": "integer"
        },
        "produto_base_troca_atu": {
            "type": "integer"
        },
        "qtd_base_troca_atu": {
            "type": "integer"
        },
        "vlr_unitario_base_troca_atu": {
            "type": "integer"
        },
        "vlr_total_base_troca_atu": {
            "type": "integer"
        },
        "situacao_atu": {
            "type": "string",
            "maxlen": 1
        },
        "data_baixa_atu": {
            "type": "datetime"
        },
        "observacao_atu": {
            "type": "string",
            "maxlen": 4000
        },
        "terminal_ip": {
            "type": "string",
            "maxlen": 15
        },
        "usuario": {
            "type": "integer"
        },
        "hora": {
            "type": "string"
        }
    },
    "originaltable": {
        "fullname": "public.log_btr_base_troca",
        "name": "log_btr_base_troca",
        "relationship": false,
        "columns": {
            "filial": {
                "position": 1,
                "name": "filial",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "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_ant": {
                "position": 3,
                "name": "filial_ant",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "sequencia_ant": {
                "position": 4,
                "name": "sequencia_ant",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "orcamento_ant": {
                "position": 5,
                "name": "orcamento_ant",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "produto_vendido_ant": {
                "position": 6,
                "name": "produto_vendido_ant",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "qtd_vendido_ant": {
                "position": 7,
                "name": "qtd_vendido_ant",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "vlr_unitario_vendido_ant": {
                "position": 8,
                "name": "vlr_unitario_vendido_ant",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "vlr_total_vendido_ant": {
                "position": 9,
                "name": "vlr_total_vendido_ant",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "produto_base_troca_ant": {
                "position": 10,
                "name": "produto_base_troca_ant",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "qtd_base_troca_ant": {
                "position": 11,
                "name": "qtd_base_troca_ant",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "vlr_unitario_base_troca_ant": {
                "position": 12,
                "name": "vlr_unitario_base_troca_ant",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "vlr_total_base_troca_ant": {
                "position": 13,
                "name": "vlr_total_base_troca_ant",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "situacao_ant": {
                "position": 14,
                "name": "situacao_ant",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 1,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "data_baixa_ant": {
                "position": 15,
                "name": "data_baixa_ant",
                "type": "date",
                "nullable": "NO",
                "maxlen": null,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "observacao_ant": {
                "position": 16,
                "name": "observacao_ant",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 4000,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "filial_atu": {
                "position": 17,
                "name": "filial_atu",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "sequencia_atu": {
                "position": 18,
                "name": "sequencia_atu",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "orcamento_atu": {
                "position": 19,
                "name": "orcamento_atu",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "produto_vendido_atu": {
                "position": 20,
                "name": "produto_vendido_atu",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "qtd_vendido_atu": {
                "position": 21,
                "name": "qtd_vendido_atu",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "vlr_unitario_vendido_atu": {
                "position": 22,
                "name": "vlr_unitario_vendido_atu",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "vlr_total_vendido_atu": {
                "position": 23,
                "name": "vlr_total_vendido_atu",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "produto_base_troca_atu": {
                "position": 24,
                "name": "produto_base_troca_atu",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "qtd_base_troca_atu": {
                "position": 25,
                "name": "qtd_base_troca_atu",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "vlr_unitario_base_troca_atu": {
                "position": 26,
                "name": "vlr_unitario_base_troca_atu",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "vlr_total_base_troca_atu": {
                "position": 27,
                "name": "vlr_total_base_troca_atu",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "situacao_atu": {
                "position": 28,
                "name": "situacao_atu",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 1,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "data_baixa_atu": {
                "position": 29,
                "name": "data_baixa_atu",
                "type": "date",
                "nullable": "NO",
                "maxlen": null,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "observacao_atu": {
                "position": 30,
                "name": "observacao_atu",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 4000,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "terminal_ip": {
                "position": 31,
                "name": "terminal_ip",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 15,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "usuario": {
                "position": 32,
                "name": "usuario",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "hora": {
                "position": 33,
                "name": "hora",
                "type": "time without time zone",
                "nullable": "NO",
                "maxlen": null,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            }
        },
        "constraints": [],
        "relationships": {
            "one-to-one": [],
            "one-to-many": [],
            "many-to-one": [],
            "many-to-many": []
        }
    }
}