columns:
  budget_cle_id:
    type: bigint
    default: "0"
  coefficient:
    type: numeric(7,2)
    default: "1"
  coefficient_mco:
    type: numeric(7,4)
    default: "1"
  compte_produit_analytique_id:
    type: bigint
    default: "0"
  compte_produit_id:
    type: bigint
    default: "0"
  date_debut:
    type: date
  date_fin:
    type: date
  facture_id:
    type: bigint
    default: "0"
  finess:
    type: character(9)
    not_null: NOT NULL
    default: "''::bpchar"
  lieu_id:
    type: bigint
    default: "0"
  lpp_id:
    type: bigint
    default: "0"
  montant_comptabilise:
    type: numeric(13,2)
    default: "0"
  montant_comptabilise_0:
    type: numeric(13,2)
    default: "0"
  montant_comptabilise_1:
    type: numeric(13,2)
    default: "0"
  montant_comptabilise_2:
    type: numeric(13,2)
    default: "0"
  montant_comptabilise_22:
    type: numeric(13,2)
    default: "0"
  montant_comptabilise_budget_global_1:
    type: numeric(13,2)
    default: "0"
  montant_encours:
    type: numeric(13,2)
    default: "0"
  montant_encours_0:
    type: numeric(13,2)
    default: "0"
  montant_encours_1:
    type: numeric(13,2)
    default: "0"
  montant_encours_2:
    type: numeric(13,2)
    default: "0"
  montant_encours_22:
    type: numeric(13,2)
    default: "0"
  montant_facture:
    type: numeric(13,2)
    default: "0"
  montant_facture_0:
    type: numeric(13,2)
    default: "0"
  montant_facture_0_actes_inclus_dans_sejour:
    type: numeric(13,2)
    default: "0"
  montant_facture_1:
    type: numeric(13,2)
    default: "0"
  montant_facture_1_actes_inclus_dans_sejour:
    type: numeric(13,2)
    default: "0"
  montant_facture_2:
    type: numeric(13,2)
    default: "0"
  montant_facture_22:
    type: numeric(13,2)
    default: "0"
  montant_facture_22_actes_inclus_dans_sejour:
    type: numeric(13,2)
    default: "0"
  montant_facture_2_actes_inclus_dans_sejour:
    type: numeric(13,2)
    default: "0"
  montant_facture_actes_inclus_dans_sejour:
    type: numeric(13,2)
    default: "0"
  nb_prestation:
    type: numeric(5,0)
    default: "1"
  nb_rubrique:
    type: numeric(5,0)
    default: "1"
  no_facture:
    type: text
    not_null: NOT NULL
  origine_facturation_id:
    type: integer
    default: "1"
  pole_id:
    type: bigint
    default: "0"
  prestation_id:
    type: bigint
    default: "0"
  prix_unitaire:
    type: numeric(13,2)
    default: "0"
  protocole_id:
    type: bigint
    default: "0"
  rubrique_comptabilisation_id:
    type: bigint
    default: "0"
  rubrique_facturation_id:
    type: bigint
    default: "0"
  rubrique_facture_id:
    type: bigint
    default: "0"
  taux_0:
    type: numeric(5,2)
    default: "0"
  taux_1:
    type: numeric(5,2)
    default: "0"
  taux_2:
    type: numeric(5,2)
    default: "0"
  taux_22:
    type: numeric(5,2)
    default: "0"
  taux_tva:
    type: numeric
    default: "0"
  ucd_id:
    type: bigint
    default: "0"
indexes:
  i_factures_lignes_c_1:
    column: no_facture
    method: btree
  i_factures_lignes_c_2:
    column: prestation_id
    method: btree
  i_factures_lignes_c_3:
    column: rubrique_facturation_id
    method: btree
  i_factures_lignes_c_4:
    column: date_fin
    method: btree
  i_factures_lignes_c_5:
    column: date_debut
    method: btree
  i_factures_lignes_c_6:
    column: lieu_id
    method: btree
  i_factures_lignes_c_7:
    column: rubrique_comptabilisation_id
    method: btree
  i_factures_lignes_c_8:
    column: facture_id
    method: btree
  i_factures_lignes_c_budget_cle_id:
    column: budget_cle_id
    method: btree
  i_factures_lignes_c_compte_produit_analytique_id:
    column: compte_produit_analytique_id
    method: btree
  i_factures_lignes_c_pole_id:
    column: pole_id
    method: btree
  i_factures_lignes_c_rubrique_facture_id:
    column: rubrique_facture_id
    method: btree