Tables Relationships Utility Tables Constraints Anomalies Columns Donate

Table ecandidat.piece_justif table des pièces justificatives | Generated by SchemaSpy

Related columns Constraints Comments Legend |
Legend: |
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments
--- | --- | --- | --- | --- | --- | --- | --- | ---
id_pj | int | 10 |  | √ |  |
pj_cand.id_pj | fk_pj_cand_pj_id_pj R
pj_form.id_pj | fk_pj_form_pj_id_pj R
|  | identifiant de la pièce justificative
cod_pj | varchar | 20 |  |  |  |  |  | code de la pièce justificative
lib_pj | varchar | 50 |  |  |  |  |  | libellé de la pj
tes_pj | bit | 1 |  |  |  |  |  | témoin en service de la pièce justificative
id_i18n_lib_pj | int | 10 |  |  |  |  |
i18n.id_i18n | fk_piece_justif_i18n_id_i18n_lib_pj R
| identifiant i18n du libellé de la pj
id_fichier | int | 10 | √ |  | null |  |
fichier.id_fichier | fk_fichier_piece_justif_id_fichier R
| fichier eventuel rattaché à la pièce
tem_commun_pj | bit | 1 |  |  |  |  |  | témoin commun à toutes les formations de la pièce justificative
tem_unicite_pj | bit | 1 |  |  |  |  |  | témoin pièce unique pour les pieces communes
tem_conditionnel_pj | bit | 1 |  |  |  |  |  | témoin de pièce conditionnel de la pièce justificative
order_pj | int | 10 | √ |  | null |  |  | ordre d'affichage de la pièce
id_ctr_cand | int | 10 | √ |  | null |  |
centre_candidature.id_ctr_cand | fk_piece_justif_ctr_cand_id_ctr_cand R
| identifiant du centre de candidature éventuel
cod_apo_pj | varchar | 50 | √ |  | null |  |  | code apogée de la pièce
dat_cre_pj | datetime | 19 |  |  |  |  |  | date de création
user_cre_pj | varchar | 30 |  |  |  |  |  | user de création
dat_mod_pj | datetime | 19 |  |  |  |  |  | date de modification
user_mod_pj | varchar | 30 |  |  |  |  |  | user de modification
Table contained 9 rows at lun. févr. 20 13:02 CET 2017

Indexes:

Column(s) | Type | Sort | Constraint Name
--- | --- | --- | ---
id_pj | Primary key | Asc | PRIMARY
cod_pj | Must be unique | Asc | cod_pj
id_fichier | Performance | Asc | fk_fichier_piece_justif_id_fichier
id_ctr_cand | Performance | Asc | fk_piece_justif_ctr_cand_id_ctr_cand
id_i18n_lib_pj | Performance | Asc | fk_piece_justif_i18n_id_i18n_lib_pj

Close relationships within one two degrees of separation: