{
    "table": {
        "name": "ent_aux_nota_fiscal_item"
    },
    "attributes": {
        "filial_nota": {
            "type": "integer"
        },
        "filial_for": {
            "type": "integer"
        },
        "fornecedor": {
            "type": "integer"
        },
        "serie": {
            "type": "string",
            "maxlen": 6
        },
        "numero": {
            "type": "integer"
        },
        "sequencia": {
            "type": "integer"
        },
        "filial_pro": {
            "type": "integer"
        },
        "produto": {
            "type": "integer"
        },
        "quantidade": {
            "type": "integer"
        },
        "preco": {
            "type": "integer"
        },
        "preco_total": {
            "type": "integer"
        },
        "impostos_adici": {
            "type": "integer"
        },
        "credito_icm": {
            "type": "integer"
        },
        "icm_subst": {
            "type": "integer"
        },
        "frete_seguro": {
            "type": "integer"
        },
        "custo": {
            "type": "integer"
        },
        "seq_movimento": {
            "type": "integer"
        },
        "nr_seq_livro_fis": {
            "type": "integer"
        },
        "base_icm": {
            "type": "integer"
        },
        "outros_valores": {
            "type": "integer"
        },
        "aliquota_icms": {
            "type": "integer"
        },
        "cfop": {
            "type": "integer"
        },
        "operacao_2_3": {
            "type": "integer"
        },
        "tipo_ret_dif": {
            "type": "string",
            "maxlen": 1
        },
        "aliq_ret_dif": {
            "type": "integer"
        },
        "filial_usu": {
            "type": "integer"
        },
        "usuario": {
            "type": "integer"
        },
        "seq_mov_dif_nf": {
            "type": "integer"
        },
        "aliquota_ipi": {
            "type": "integer"
        },
        "base_ipi": {
            "type": "integer"
        },
        "vlr_ipi": {
            "type": "integer"
        },
        "peso_entrada": {
            "type": "integer"
        },
        "aliquota_pis": {
            "type": "integer"
        },
        "base_pis": {
            "type": "integer"
        },
        "vlr_pis": {
            "type": "integer"
        },
        "aliquota_cofins": {
            "type": "integer"
        },
        "base_cofins": {
            "type": "integer"
        },
        "vlr_cofins": {
            "type": "integer"
        },
        "desconto_item": {
            "type": "integer"
        },
        "sit_trib": {
            "type": "integer"
        },
        "perc_desconto": {
            "type": "integer"
        },
        "peso_liquido": {
            "type": "integer"
        },
        "classificacao_fiscal": {
            "type": "string",
            "maxlen": 15
        },
        "base_icms_subst": {
            "type": "integer"
        },
        "alq_icms_subst": {
            "type": "integer"
        },
        "cod_csosn": {
            "type": "integer"
        },
        "num_pedido_compra": {
            "type": "string",
            "maxlen": 15
        },
        "num_item_pedido_compra": {
            "type": "integer"
        },
        "base_csll": {
            "type": "integer"
        },
        "aliquota_csll": {
            "type": "integer"
        },
        "valor_csll": {
            "type": "integer"
        },
        "base_issqn": {
            "type": "integer"
        },
        "aliquota_issqn": {
            "type": "integer"
        },
        "valor_issqn": {
            "type": "integer"
        },
        "base_pis_st": {
            "type": "integer"
        },
        "aliquota_pis_st": {
            "type": "integer"
        },
        "valor_pis_st": {
            "type": "integer"
        },
        "base_cofins_st": {
            "type": "integer"
        },
        "aliquota_cofins_st": {
            "type": "integer"
        },
        "valor_cofins_st": {
            "type": "integer"
        },
        "cst_ipi": {
            "type": "integer"
        },
        "cst_pis": {
            "type": "integer"
        },
        "cst_cofins": {
            "type": "integer"
        },
        "cst_iss": {
            "type": "integer"
        },
        "base_imposto_importacao": {
            "type": "integer"
        },
        "valor_imposto_importacao": {
            "type": "integer"
        },
        "valor_despesas_aduaneiras": {
            "type": "integer"
        },
        "valor_iof": {
            "type": "integer"
        },
        "numero_fci": {
            "type": "string",
            "maxlen": 100
        }
    },
    "originaltable": {
        "fullname": "public.ent_aux_nota_fiscal_item",
        "name": "ent_aux_nota_fiscal_item",
        "relationship": false,
        "columns": {
            "filial_nota": {
                "position": 1,
                "name": "filial_nota",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": {
                    "column_name": "filial_nota",
                    "foreign_table_name": "ent_aux_nota_fiscal",
                    "foreign_column_name": "fornecedor"
                }
            },
            "filial_for": {
                "position": 2,
                "name": "filial_for",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": {
                    "column_name": "filial_for",
                    "foreign_table_name": "ent_aux_nota_fiscal",
                    "foreign_column_name": "serie"
                }
            },
            "fornecedor": {
                "position": 3,
                "name": "fornecedor",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": {
                    "column_name": "fornecedor",
                    "foreign_table_name": "ent_aux_nota_fiscal",
                    "foreign_column_name": "filial_for"
                }
            },
            "serie": {
                "position": 4,
                "name": "serie",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 6,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": {
                    "column_name": "serie",
                    "foreign_table_name": "ent_aux_nota_fiscal",
                    "foreign_column_name": "filial_for"
                }
            },
            "numero": {
                "position": 5,
                "name": "numero",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": {
                    "column_name": "numero",
                    "foreign_table_name": "ent_aux_nota_fiscal",
                    "foreign_column_name": "numero"
                }
            },
            "sequencia": {
                "position": 6,
                "name": "sequencia",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "filial_pro": {
                "position": 7,
                "name": "filial_pro",
                "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
            },
            "quantidade": {
                "position": 9,
                "name": "quantidade",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "preco": {
                "position": 10,
                "name": "preco",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "preco_total": {
                "position": 11,
                "name": "preco_total",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "impostos_adici": {
                "position": 12,
                "name": "impostos_adici",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "credito_icm": {
                "position": 13,
                "name": "credito_icm",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "icm_subst": {
                "position": 14,
                "name": "icm_subst",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "frete_seguro": {
                "position": 15,
                "name": "frete_seguro",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "custo": {
                "position": 16,
                "name": "custo",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "seq_movimento": {
                "position": 17,
                "name": "seq_movimento",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "nr_seq_livro_fis": {
                "position": 18,
                "name": "nr_seq_livro_fis",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "base_icm": {
                "position": 19,
                "name": "base_icm",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "outros_valores": {
                "position": 20,
                "name": "outros_valores",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "aliquota_icms": {
                "position": 21,
                "name": "aliquota_icms",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 6,
                "radix": 10,
                "scale": 3,
                "interval": null,
                "foreignkey": null
            },
            "cfop": {
                "position": 22,
                "name": "cfop",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "operacao_2_3": {
                "position": 23,
                "name": "operacao_2_3",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 3,
                "radix": 10,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "tipo_ret_dif": {
                "position": 24,
                "name": "tipo_ret_dif",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 1,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "aliq_ret_dif": {
                "position": 25,
                "name": "aliq_ret_dif",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 6,
                "radix": 10,
                "scale": 3,
                "interval": null,
                "foreignkey": null
            },
            "filial_usu": {
                "position": 26,
                "name": "filial_usu",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "usuario": {
                "position": 27,
                "name": "usuario",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "seq_mov_dif_nf": {
                "position": 28,
                "name": "seq_mov_dif_nf",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "aliquota_ipi": {
                "position": 29,
                "name": "aliquota_ipi",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 6,
                "radix": 10,
                "scale": 3,
                "interval": null,
                "foreignkey": null
            },
            "base_ipi": {
                "position": 30,
                "name": "base_ipi",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "vlr_ipi": {
                "position": 31,
                "name": "vlr_ipi",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "peso_entrada": {
                "position": 32,
                "name": "peso_entrada",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "aliquota_pis": {
                "position": 33,
                "name": "aliquota_pis",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 6,
                "radix": 10,
                "scale": 3,
                "interval": null,
                "foreignkey": null
            },
            "base_pis": {
                "position": 34,
                "name": "base_pis",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "vlr_pis": {
                "position": 35,
                "name": "vlr_pis",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "aliquota_cofins": {
                "position": 36,
                "name": "aliquota_cofins",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 6,
                "radix": 10,
                "scale": 3,
                "interval": null,
                "foreignkey": null
            },
            "base_cofins": {
                "position": 37,
                "name": "base_cofins",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "vlr_cofins": {
                "position": 38,
                "name": "vlr_cofins",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "desconto_item": {
                "position": 39,
                "name": "desconto_item",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "sit_trib": {
                "position": 40,
                "name": "sit_trib",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 3,
                "radix": 10,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "perc_desconto": {
                "position": 41,
                "name": "perc_desconto",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 10,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "peso_liquido": {
                "position": 42,
                "name": "peso_liquido",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "classificacao_fiscal": {
                "position": 43,
                "name": "classificacao_fiscal",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 15,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "base_icms_subst": {
                "position": 44,
                "name": "base_icms_subst",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "alq_icms_subst": {
                "position": 45,
                "name": "alq_icms_subst",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "cod_csosn": {
                "position": 46,
                "name": "cod_csosn",
                "type": "integer",
                "nullable": "NO",
                "maxlen": null,
                "precision": 32,
                "radix": 2,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "num_pedido_compra": {
                "position": 47,
                "name": "num_pedido_compra",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 15,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            },
            "num_item_pedido_compra": {
                "position": 48,
                "name": "num_item_pedido_compra",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 10,
                "radix": 10,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "base_csll": {
                "position": 49,
                "name": "base_csll",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "aliquota_csll": {
                "position": 50,
                "name": "aliquota_csll",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "valor_csll": {
                "position": 51,
                "name": "valor_csll",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "base_issqn": {
                "position": 52,
                "name": "base_issqn",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "aliquota_issqn": {
                "position": 53,
                "name": "aliquota_issqn",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "valor_issqn": {
                "position": 54,
                "name": "valor_issqn",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "base_pis_st": {
                "position": 55,
                "name": "base_pis_st",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "aliquota_pis_st": {
                "position": 56,
                "name": "aliquota_pis_st",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "valor_pis_st": {
                "position": 57,
                "name": "valor_pis_st",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "base_cofins_st": {
                "position": 58,
                "name": "base_cofins_st",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "aliquota_cofins_st": {
                "position": 59,
                "name": "aliquota_cofins_st",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "valor_cofins_st": {
                "position": 60,
                "name": "valor_cofins_st",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "cst_ipi": {
                "position": 61,
                "name": "cst_ipi",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 3,
                "radix": 10,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "cst_pis": {
                "position": 62,
                "name": "cst_pis",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 3,
                "radix": 10,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "cst_cofins": {
                "position": 63,
                "name": "cst_cofins",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 3,
                "radix": 10,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "cst_iss": {
                "position": 64,
                "name": "cst_iss",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 3,
                "radix": 10,
                "scale": 0,
                "interval": null,
                "foreignkey": null
            },
            "base_imposto_importacao": {
                "position": 65,
                "name": "base_imposto_importacao",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "valor_imposto_importacao": {
                "position": 66,
                "name": "valor_imposto_importacao",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "valor_despesas_aduaneiras": {
                "position": 67,
                "name": "valor_despesas_aduaneiras",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "valor_iof": {
                "position": 68,
                "name": "valor_iof",
                "type": "numeric",
                "nullable": "NO",
                "maxlen": null,
                "precision": 18,
                "radix": 10,
                "scale": 6,
                "interval": null,
                "foreignkey": null
            },
            "numero_fci": {
                "position": 69,
                "name": "numero_fci",
                "type": "character varying",
                "nullable": "NO",
                "maxlen": 100,
                "precision": null,
                "radix": null,
                "scale": null,
                "interval": null,
                "foreignkey": null
            }
        },
        "constraints": [],
        "relationships": {
            "one-to-one": [],
            "one-to-many": [],
            "many-to-one": [
                {
                    "name": "fornecedor",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "fornecedor"
                },
                {
                    "name": "numero",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "filial_for"
                },
                {
                    "name": "numero",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "filial_nota"
                },
                {
                    "name": "serie",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "filial_nota"
                },
                {
                    "name": "fornecedor",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "filial_nota"
                },
                {
                    "name": "filial_for",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "fornecedor"
                },
                {
                    "name": "filial_nota",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "filial_nota"
                },
                {
                    "name": "filial_for",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "filial_nota"
                },
                {
                    "name": "filial_nota",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "numero"
                },
                {
                    "name": "filial_for",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "numero"
                },
                {
                    "name": "fornecedor",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "numero"
                },
                {
                    "name": "numero",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "fornecedor"
                },
                {
                    "name": "serie",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "fornecedor"
                },
                {
                    "name": "fornecedor",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "serie"
                },
                {
                    "name": "numero",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "serie"
                },
                {
                    "name": "serie",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "serie"
                },
                {
                    "name": "filial_nota",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "serie"
                },
                {
                    "name": "serie",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "numero"
                },
                {
                    "name": "serie",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "filial_for"
                },
                {
                    "name": "fornecedor",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "filial_for"
                },
                {
                    "name": "filial_for",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "filial_for"
                },
                {
                    "name": "numero",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "numero"
                },
                {
                    "name": "filial_for",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "serie"
                },
                {
                    "name": "filial_nota",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "filial_for"
                },
                {
                    "name": "filial_nota",
                    "to": "ent_aux_nota_fiscal",
                    "to_attribute": "fornecedor"
                }
            ],
            "many-to-many": []
        },
        "foreignkeys": [
            {
                "column_name": "fornecedor",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "fornecedor"
            },
            {
                "column_name": "numero",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "filial_for"
            },
            {
                "column_name": "numero",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "filial_nota"
            },
            {
                "column_name": "serie",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "filial_nota"
            },
            {
                "column_name": "fornecedor",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "filial_nota"
            },
            {
                "column_name": "filial_for",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "fornecedor"
            },
            {
                "column_name": "filial_nota",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "filial_nota"
            },
            {
                "column_name": "filial_for",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "filial_nota"
            },
            {
                "column_name": "filial_nota",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "numero"
            },
            {
                "column_name": "filial_for",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "numero"
            },
            {
                "column_name": "fornecedor",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "numero"
            },
            {
                "column_name": "numero",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "fornecedor"
            },
            {
                "column_name": "serie",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "fornecedor"
            },
            {
                "column_name": "fornecedor",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "serie"
            },
            {
                "column_name": "numero",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "serie"
            },
            {
                "column_name": "serie",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "serie"
            },
            {
                "column_name": "filial_nota",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "serie"
            },
            {
                "column_name": "serie",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "numero"
            },
            {
                "column_name": "serie",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "filial_for"
            },
            {
                "column_name": "fornecedor",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "filial_for"
            },
            {
                "column_name": "filial_for",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "filial_for"
            },
            {
                "column_name": "numero",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "numero"
            },
            {
                "column_name": "filial_for",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "serie"
            },
            {
                "column_name": "filial_nota",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "filial_for"
            },
            {
                "column_name": "filial_nota",
                "foreign_table_name": "ent_aux_nota_fiscal",
                "foreign_column_name": "fornecedor"
            }
        ]
    }
}