{
    "table": {
        "name": "log_par_duplicata"
    },
    "attributes": {
        "sequencia": {
            "type": "integer"
        },
        "terminal_ip": {
            "type": "string",
            "maxlen": 15
        },
        "usuario": {
            "type": "integer"
        },
        "data": {
            "type": "datetime"
        },
        "hora": {
            "type": "string"
        },
        "log_tipo_operacao": {
            "type": "integer"
        },
        "ant_filial": {
            "type": "integer"
        },
        "ant_codigo": {
            "type": "integer"
        },
        "ant_prox_duplicata": {
            "type": "integer"
        },
        "ant_vlr_min_fat": {
            "type": "integer"
        },
        "ant_prox_remessa_banco": {
            "type": "integer"
        },
        "ant_nr_nf_duplicata": {
            "type": "integer"
        },
        "ant_prox_pag_livro": {
            "type": "integer"
        },
        "ant_prox_nr_boleto": {
            "type": "integer"
        },
        "ant_observacao": {
            "type": "string",
            "maxlen": 300
        },
        "ant_multa_por_atraso": {
            "type": "integer"
        },
        "ant_juros_ao_mes": {
            "type": "integer"
        },
        "ant_perc_pis": {
            "type": "integer"
        },
        "ant_perc_cofins": {
            "type": "integer"
        },
        "ant_perc_csll": {
            "type": "integer"
        },
        "ant_perc_irrf": {
            "type": "integer"
        },
        "ant_perc_iss": {
            "type": "integer"
        },
        "atu_filial": {
            "type": "integer"
        },
        "atu_codigo": {
            "type": "integer"
        },
        "atu_prox_duplicata": {
            "type": "integer"
        },
        "atu_vlr_min_fat": {
            "type": "integer"
        },
        "atu_prox_remessa_banco": {
            "type": "integer"
        },
        "atu_nr_nf_duplicata": {
            "type": "integer"
        },
        "atu_prox_pag_livro": {
            "type": "integer"
        },
        "atu_prox_nr_boleto": {
            "type": "integer"
        },
        "atu_observacao": {
            "type": "string",
            "maxlen": 300
        },
        "atu_multa_por_atraso": {
            "type": "integer"
        },
        "atu_juros_ao_mes": {
            "type": "integer"
        },
        "atu_perc_pis": {
            "type": "integer"
        },
        "atu_perc_cofins": {
            "type": "integer"
        },
        "atu_perc_csll": {
            "type": "integer"
        },
        "atu_perc_irrf": {
            "type": "integer"
        },
        "atu_perc_iss": {
            "type": "integer"
        }
    },
    "originaltable": {
        "fullname": "public.log_par_duplicata",
        "name": "log_par_duplicata",
        "relationship": false,
        "columns": {
            "sequencia": {
                "position": 1,
                "name": "sequencia",
                "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
            },
            "usuario": {
                "position": 3,
                "name": "usuario",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "data": {
                "position": 4,
                "name": "data",
                "type": "date",
                "nullable": "NO",
                "maxlen": null,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "hora": {
                "position": 5,
                "name": "hora",
                "type": "time without time zone",
                "nullable": "NO",
                "maxlen": null,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "log_tipo_operacao": {
                "position": 6,
                "name": "log_tipo_operacao",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "ant_filial": {
                "position": 7,
                "name": "ant_filial",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": {
                    "column_name": "ant_filial",
                    "foreign_table_name": "par_duplicata",
                    "foreign_column_name": "filial"
                }
            },
            "ant_codigo": {
                "position": 8,
                "name": "ant_codigo",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": {
                    "column_name": "ant_codigo",
                    "foreign_table_name": "par_duplicata",
                    "foreign_column_name": "codigo"
                }
            },
            "ant_prox_duplicata": {
                "position": 9,
                "name": "ant_prox_duplicata",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "ant_vlr_min_fat": {
                "position": 10,
                "name": "ant_vlr_min_fat",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "ant_prox_remessa_banco": {
                "position": 11,
                "name": "ant_prox_remessa_banco",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "ant_nr_nf_duplicata": {
                "position": 12,
                "name": "ant_nr_nf_duplicata",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "ant_prox_pag_livro": {
                "position": 13,
                "name": "ant_prox_pag_livro",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "ant_prox_nr_boleto": {
                "position": 14,
                "name": "ant_prox_nr_boleto",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "ant_observacao": {
                "position": 15,
                "name": "ant_observacao",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 300,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "ant_multa_por_atraso": {
                "position": 16,
                "name": "ant_multa_por_atraso",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "ant_juros_ao_mes": {
                "position": 17,
                "name": "ant_juros_ao_mes",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "ant_perc_pis": {
                "position": 18,
                "name": "ant_perc_pis",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "ant_perc_cofins": {
                "position": 19,
                "name": "ant_perc_cofins",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "ant_perc_csll": {
                "position": 20,
                "name": "ant_perc_csll",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "ant_perc_irrf": {
                "position": 21,
                "name": "ant_perc_irrf",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "ant_perc_iss": {
                "position": 22,
                "name": "ant_perc_iss",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "atu_filial": {
                "position": 23,
                "name": "atu_filial",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "atu_codigo": {
                "position": 24,
                "name": "atu_codigo",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "atu_prox_duplicata": {
                "position": 25,
                "name": "atu_prox_duplicata",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "atu_vlr_min_fat": {
                "position": 26,
                "name": "atu_vlr_min_fat",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "atu_prox_remessa_banco": {
                "position": 27,
                "name": "atu_prox_remessa_banco",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "atu_nr_nf_duplicata": {
                "position": 28,
                "name": "atu_nr_nf_duplicata",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "atu_prox_pag_livro": {
                "position": 29,
                "name": "atu_prox_pag_livro",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "atu_prox_nr_boleto": {
                "position": 30,
                "name": "atu_prox_nr_boleto",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "atu_observacao": {
                "position": 31,
                "name": "atu_observacao",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 300,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "atu_multa_por_atraso": {
                "position": 32,
                "name": "atu_multa_por_atraso",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "atu_juros_ao_mes": {
                "position": 33,
                "name": "atu_juros_ao_mes",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "atu_perc_pis": {
                "position": 34,
                "name": "atu_perc_pis",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "atu_perc_cofins": {
                "position": 35,
                "name": "atu_perc_cofins",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "atu_perc_csll": {
                "position": 36,
                "name": "atu_perc_csll",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "atu_perc_irrf": {
                "position": 37,
                "name": "atu_perc_irrf",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "atu_perc_iss": {
                "position": 38,
                "name": "atu_perc_iss",
                "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": [
                {
                    "name": "ant_codigo",
                    "to": "par_duplicata",
                    "to_attribute": "filial"
                },
                {
                    "name": "ant_filial",
                    "to": "par_duplicata",
                    "to_attribute": "codigo"
                },
                {
                    "name": "ant_codigo",
                    "to": "par_duplicata",
                    "to_attribute": "codigo"
                },
                {
                    "name": "ant_filial",
                    "to": "par_duplicata",
                    "to_attribute": "filial"
                }
            ],
            "many-to-many": []
        },
        "foreignkeys": [
            {
                "column_name": "ant_codigo",
                "foreign_table_name": "par_duplicata",
                "foreign_column_name": "filial"
            },
            {
                "column_name": "ant_filial",
                "foreign_table_name": "par_duplicata",
                "foreign_column_name": "codigo"
            },
            {
                "column_name": "ant_codigo",
                "foreign_table_name": "par_duplicata",
                "foreign_column_name": "codigo"
            },
            {
                "column_name": "ant_filial",
                "foreign_table_name": "par_duplicata",
                "foreign_column_name": "filial"
            }
        ]
    }
}