Description du modèle de données
acknowledgment_receipts
Table des accusés de réception
| Colonne | 
Type | 
Nullable | 
Par défaut | 
Description | 
| id | 
serial | 
not null | 
 | 
Identifiant automatique | 
| res_id | 
integer | 
not null | 
 | 
res_id du courrier (res_letterbox.res_id) | 
| type | 
character varying(16) | 
not null | 
 | 
Type de l'accusé de réception (simple, sva, svr) | 
| format | 
character varying(8) | 
not null | 
 | 
Format du fichier | 
| user_id | 
integer | 
not null | 
 | 
id du créateur (users.id) | 
| contact_address_id | 
integer | 
not null | 
 | 
id du contact (contact_addresses.id) | 
| creation_date | 
timestamp without time zone | 
not null | 
 | 
Date de création de l'AR | 
| send_date | 
timestamp without time zone | 
 | 
 | 
Date d'envoi de l'AR | 
| docserver_id | 
character varying(128) | 
not null | 
 | 
Identifiant du docserver (docservers.docserver_id) | 
| path | 
character varying(256) | 
not null | 
 | 
Chemin où est sauvegardé le fichier | 
| filename | 
character varying(256) | 
not null | 
 | 
Nom du fichier | 
| fingerprint | 
character varying(256) | 
not null | 
 | 
Empreinte numérique du fichier | 
actions
Sauvegarde les informations relatifs aux actions
| Colonne | 
Type | 
Nullable | 
Par défaut | 
Description | 
| id | 
integer | 
not null | 
nextval('actions_id_seq'::regclass) | 
Identifiant automatique de l'action | 
| keyword | 
character varying(32) | 
not null | 
'' | 
Mot clé affectant le paramétrage de l'action dans la bannette | 
| label_action | 
character varying(255) | 
 | 
 | 
Libellé de l'action | 
| id_status | 
character varying(10) | 
 | 
 | 
Identifiant du statut associé à l'action (status.id) | 
| is_system | 
character(1) | 
not null | 
'N' | 
Indique si c'est une action système | 
| enabled | 
character(1) | 
not null | 
'Y' | 
Action activée ou non | 
| action_page | 
character varying(255) | 
 | 
 | 
Page de résultat de l'action | 
| history | 
character(1) | 
not null | 
'N' | 
Indique si l'action est historisée ou non | 
| origin | 
character varying(255) | 
not null | 
'apps' | 
deprecated | 
| create_id | 
character(1) | 
not null | 
'N' | 
Indique si l'action va créer un identifiant | 
| category_id | 
character varying(255) | 
 | 
 | 
deprecated | 
| component | 
character varying(128) | 
 | 
 | 
Component angular de l'action | 
actions_categories
Indique les catégories pour lesquelles les actions sont disponibles
| Colonne | 
Type | 
Nullable | 
Par défaut | 
Description | 
| action_id | 
bigint | 
not null | 
 | 
Identifiant de l'action (actions.id) | 
| category_id | 
character varying(255) | 
not null | 
 | 
Indique les catégories pour lesquelles cette action est disponible | 
actions_groupbaskets
Indique les actions disponible dans les bannettes pour chaque groupe
| Colonne | 
Type | 
Nullable | 
Par défaut | 
Description | 
| id_action | 
bigint | 
not null | 
 | 
Identifiant de l'action (actions.id) | 
| where_clause | 
text | 
 | 
 | 
Condition d'apparition de l'action dans la bannette | 
| group_id | 
character varying(32) | 
not null | 
 | 
Identifiant du groupe pour lequel l'action apparait (groupbasket.group_id) | 
| basket_id | 
character varying(32) | 
not null | 
 | 
Identifiant de la bannette dans l'aquelle l'action apparait (baskets.basket_id) | 
| used_in_basketlist | 
character(1) | 
not null | 
'Y'::bpchar | 
Indique si l'action doit apparaitre dans la liste de résultat de la bannette | 
| used_in_action_page | 
character(1) | 
not null | 
'Y'::bpchar | 
Indique si l'action apparait dans la page d'action | 
| default_action_list | 
character(1) | 
not null | 
'N'::bpchar | 
Indique si c'est l'action par défaut dans la bannette | 
adr_attachments
Table des fichiers pièces jointes converties sous divers formats
| Colonne | 
Type | 
Nullable | 
Par défaut | 
Description | 
| id | 
serial | 
not null | 
 | 
Identifiant automatique | 
| res_id | 
bigint | 
not null | 
 | 
res_id de la pièce jointe (attachments.res_id) | 
| type | 
character varying(32) | 
not null | 
 | 
Format de la conversion | 
| docserver_id | 
character varying(32) | 
not null | 
 | 
Identifiant du docserver (docservers.id) | 
| path | 
character varying(255) | 
 | 
NULL::character varying | 
Chemin où est sauvegardé le fichier | 
| filename | 
character varying(255) | 
not null | 
 | 
Nom du fichier | 
| fingerprint | 
character varying(255) | 
 | 
NULL::character varying | 
Empreinte numérique du fichier | 
adr_attachments_version
Table des fichiers pièces jointes versionnées converties sous divers formats
| Colonne | 
Type | 
Nullable | 
Par défaut | 
Description | 
| id | 
serial | 
not null | 
 | 
Identifiant automatique | 
| res_id | 
bigint | 
not null | 
 | 
res_id de la pièce jointe (attachments_version.res_id) | 
| type | 
character varying(32) | 
not null | 
 | 
Format de la conversion | 
| docserver_id | 
character varying(32) | 
not null | 
 | 
Identifiant du docserver (docservers.id) | 
| path | 
character varying(255) | 
 | 
NULL::character varying | 
Chemin où est sauvegardé le fichier | 
| filename | 
character varying(255) | 
not null | 
 | 
Nom du fichier | 
| fingerprint | 
character varying(255) | 
 | 
NULL::character varying | 
Empreinte numérique du fichier | 
adr_letterbox
Table des fichiers courriers converties sous divers formats
| Colonne | 
Type | 
Nullable | 
Par défaut | 
Description | 
| id | 
serial | 
not null | 
 | 
Identifiant automatique | 
| res_id | 
bigint | 
not null | 
 | 
res_id du courrier (res_letterbox.res_id) | 
| type | 
character varying(32) | 
not null | 
 | 
Format de la conversion | 
| docserver_id | 
character varying(32) | 
not null | 
 | 
Identifiant du docserver (docservers.id) | 
| path | 
character varying(255) | 
 | 
NULL::character varying | 
Chemin où est sauvegardé le fichier | 
| filename | 
character varying(255) | 
not null | 
 | 
Nom du fichier | 
| fingerprint | 
character varying(255) | 
 | 
NULL::character varying | 
Empreinte numérique du fichier | 
basket_persistent_mode
Indique les documents qui doivent rester dans la bannette
| Colonne | 
Type | 
Nullable | 
Par défaut | 
Description | 
| res_id | 
bigint | 
 | 
 | 
res_id du document (res_letterbox.res_id) | 
| user_id | 
character varying(128) | 
 | 
 | 
Utilisateur (users.user_id) | 
| is_persistent | 
character varying(1) | 
 | 
 | 
Indique si le courrier doit être toujours visible ou toujours caché | 
baskets
Sauvegarde les informations relatifs aux bannettes
| Colonne | 
Type | 
Nullable | 
Par défaut | 
Description | 
| id | 
serial | 
not null | 
 | 
Identifiant automatique | 
| coll_id | 
character varying(32) | 
not null | 
 | 
deprecated | 
| basket_id | 
character varying(32) | 
not null | 
 | 
Identifiant de la bannette | 
| basket_name | 
character varying(255) | 
not null | 
 | 
Nom de la bannette | 
| basket_desc | 
character varying(255) | 
not null | 
 | 
Description de la bannette | 
| basket_clause | 
text | 
not null | 
 | 
Périmètre de la bannette | 
| is_visible | 
character(1) | 
not null | 
'Y'::bpchar | 
Indique si la bannette doit apparaitre sur la page d'accueil ou non | 
| enabled | 
character(1) | 
not null | 
'Y'::bpchar | 
Indique si la bannette est activée | 
| basket_order | 
integer | 
 | 
 | 
Indique l'ordre d'apparition de la bannette dans la page d'accueil | 
| color | 
character varying(16) | 
 | 
 | 
Indique la couleur de la bannette sur la page d'accueil | 
| basket_res_order | 
character varying(255) | 
 | 
 | 
Indique le tri par défaut dans la liste de résultats de la bannette | 
| flag_notif | 
character varying(1) | 
 | 
 | 
Indique si la notification de bannette prend en compte cette bannette | 
cases
Sauvegarde les informations relatifs aux affaires
| Colonne | 
Type | 
Nullable | 
Par défaut | 
Description | 
| case_id | 
integer | 
not null | 
nextval('case_id_seq'::regclass) | 
Identifians automatique de l'affaire | 
| case_label | 
character varying(255) | 
not null | 
''::bpchar | 
Libellé de l'affaire | 
| case_description | 
character varying(255) | 
 | 
 | 
Description de l'affaire | 
| case_type | 
character varying(32) | 
 | 
 | 
 | 
| case_closing_date | 
timestamp without time zone | 
 | 
 | 
Date de clôture de l'affaire | 
| case_last_update_date | 
timestamp without time zone | 
not null | 
 | 
Date de dernière mise à jour de l'affaire | 
| case_creation_date | 
timestamp without time zone | 
not null | 
 | 
Date de création de l'affaire | 
| case_typist | 
character varying(128) | 
not null | 
''::bpchar | 
Identifiant du créateur de l'affaire (users.user_id) | 
| case_parent | 
integer | 
 | 
 | 
 | 
| case_custom_t1 | 
character varying(255) | 
 | 
 | 
 | 
| case_custom_t2 | 
character varying(255) | 
 | 
 | 
 | 
| case_custom_t3 | 
character varying(255) | 
 | 
 | 
 | 
| case_custom_t4 | 
character varying(255) | 
 | 
 | 
cases_res
Fait le lien entre les affaires et les couriers
| Colonne | 
Type | 
Nullable | 
Par défaut | 
Description | 
| case_id | 
integer | 
not null | 
 | 
Identifiant de l'affaire (cases.case_id) | 
| res_id | 
integer | 
not null | 
 | 
Identifiant du courrier présent dans l'affaire (res_letterbox.res_id) | 
configuration
Sauvegarde les configurations techniques de l'application
| Colonne | 
Type | 
Nullable | 
Par défaut | 
Description | 
| id | 
serial | 
not null | 
 | 
Identifiant technique | 
| service | 
character varying(64) | 
not null | 
 | 
Service de la configuration | 
| value | 
json | 
not null | 
 | 
Configuration | 
Sauvegarde les informations du formulaire d'adresses
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
bigint | 
not null | 
nextval('contact_addresses_id_seq'::regclass) | 
Identifiant automatique de l'adresse | 
| contact_id | 
bigint | 
not null | 
 | 
Identifiant du contact (contacts_v2.contact_id) | 
| contact_purpose_id | 
bigint | 
 | 
1 | 
Identifiant de la dénomination (contact_purposes.id) | 
| departement | 
character varying(255) | 
 | 
 | 
Service | 
| firstname | 
character varying(255) | 
 | 
 | 
Prénom | 
| lastname | 
character varying(255) | 
 | 
 | 
Nom | 
| title | 
character varying(255) | 
 | 
 | 
Titre | 
| function | 
character varying(255) | 
 | 
 | 
Fonction | 
| occupancy | 
character varying(1024) | 
 | 
 | 
N° app, étage, escalier | 
| address_num | 
character varying(32) | 
 | 
 | 
Numéro de l'adresse | 
| address_street | 
character varying(255) | 
 | 
 | 
Rue de l'adresse | 
| address_complement | 
character varying(255) | 
 | 
 | 
Tour, bâtiment, immeuble, résidence | 
| address_town | 
character varying(255) | 
 | 
 | 
Ville | 
| address_postal_code | 
character varying(255) | 
 | 
 | 
Code postal | 
| address_country | 
character varying(255) | 
 | 
 | 
Pays | 
| phone | 
character varying(20) | 
 | 
 | 
Numéro de téléphone | 
| email | 
character varying(255) | 
 | 
 | 
Courriel | 
| website | 
character varying(255) | 
 | 
 | 
Site internet | 
| salutation_header | 
character varying(255) | 
 | 
 | 
Formulation de politesse en début de courrier | 
| salutation_footer | 
character varying(255) | 
 | 
 | 
Formulation de politesse en fin de courrier | 
| other_data | 
character varying(255) | 
 | 
 | 
Informations complémentaires | 
| user_id | 
character varying(255) | 
not null | 
 | 
Identifiant de l'utilisateur ayant créé le contact (users.user_id) | 
| entity_id | 
character varying(32) | 
not null | 
 | 
Identifiant de l'entité primaire de l'utilisateur ayant créé le contact (entities.entity_id) | 
| is_private | 
character(1) | 
not null | 
'N'::bpchar | 
Indique si l'adresse est privé ou public | 
| enabled | 
character varying(1) | 
not null | 
'Y'::bpchar | 
Indique si l'adresse est activé ou non | 
| external_id | 
json | 
 | 
 | 
Identifiants externes | 
| ban_id | 
character varying(128) | 
 | 
 | 
Identifiant de l'adresse dans le référentiel national | 
Sauvegarde les moyens de communication pour un contact (M2M)
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
bigint | 
not null | 
nextval('contact_communication_id_seq'::regclass) | 
Identifint automatique du moyen de communication | 
| contact_id | 
bigint | 
not null | 
 | 
Identifiant du contact (contacts_v2.contact_id) | 
| type | 
character varying(255) | 
not null | 
 | 
Type de moyen de communication (email, url) | 
| value | 
character varying(255) | 
not null | 
 | 
Valeur du moyen de communication (test@maarch.org) | 
Sauvegarde les dénominations d'adresses
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
bigint | 
not null | 
nextval('contact_purposes_id_seq'::regclass) | 
Identifiant automatique de la dénomination | 
| label | 
character varying(255) | 
not null | 
 | 
Libellé de la dénomination | 
Sauvegarde les types de contact
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
bigint | 
not null | 
nextval('contact_types_id_seq'::regclass) | 
Identifiant automatique du type de contact | 
| label | 
character varying(255) | 
not null | 
 | 
Libellé du type de contact | 
| can_add_contact | 
character varying(1) | 
not null | 
'Y'::character varying | 
Indique si ce type de contact peut être utilisé pour créer un contact dans la page d'indexation | 
| contact_target | 
character varying(50) | 
 | 
 | 
Indique la cible de ce type de contact (corporate, no_corporate, both) | 
Deprecated
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| contact_id | 
bigint | 
not null | 
nextval('contact_id_seq'::regclass) | 
 | 
| lastname | 
character varying(255) | 
 | 
 | 
 | 
| firstname | 
character varying(255) | 
 | 
 | 
 | 
| society | 
character varying(255) | 
 | 
 | 
 | 
| function | 
character varying(255) | 
 | 
 | 
 | 
| address_num | 
character varying(32) | 
 | 
 | 
 | 
| address_street | 
character varying(255) | 
 | 
 | 
 | 
| address_complement | 
character varying(255) | 
 | 
 | 
 | 
| address_town | 
character varying(255) | 
 | 
 | 
 | 
| address_postal_code | 
character varying(255) | 
 | 
 | 
 | 
| address_country | 
character varying(255) | 
 | 
 | 
 | 
| email | 
character varying(255) | 
 | 
 | 
 | 
| phone | 
character varying(20) | 
 | 
 | 
 | 
| other_data | 
text | 
 | 
 | 
 | 
| is_corporate_person | 
character(1) | 
not null | 
'Y'::bpchar | 
 | 
| user_id | 
character varying(128) | 
 | 
 | 
 | 
| title | 
character varying(255) | 
 | 
 | 
 | 
| business_id | 
character varying(255) | 
 | 
 | 
 | 
| ref_identifier | 
character varying(255) | 
 | 
 | 
 | 
| acc_number | 
character varying(50) | 
 | 
 | 
 | 
| entity_id | 
character varying(32) | 
 | 
 | 
 | 
| contact_type | 
character varying(255) | 
not null | 
'letter'::character varying | 
 | 
| enabled | 
character(1) | 
not null | 
'Y'::bpchar | 
 | 
| is_private | 
character varying(1) | 
not null | 
'N'::character varying | 
Sauvegarde les taux de complétion des contacts
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
integer | 
not null | 
nextval('contacts_filling_id_seq'::regclass) | 
Identifiant automatique | 
| enable | 
boolean | 
not null | 
 | 
Activation de la fonctionnalité | 
| rating_columns | 
text | 
not null | 
 | 
Liste des colonnes utilisées pour le calcul du taux | 
| first_threshold | 
integer | 
not null | 
 | 
Premier palier (%) | 
| second_threshold | 
integer | 
not null | 
 | 
Second palier (%) | 
Sauvegarde les regroupements de contacts
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
integer | 
not null | 
nextval('contacts_groups_id_seq'::regclass) | 
Identifiant automatique | 
| label | 
character varying(32) | 
not null | 
 | 
Libellé du regroupement | 
| description | 
character varying(255) | 
not null | 
 | 
Description du regroupement | 
| public | 
boolean | 
not null | 
 | 
Indique si le regroupement est public ou non | 
| owner | 
integer | 
not null | 
 | 
Identifiant de l'utilisateur ayant créé le regroupement (users.id) | 
| entity_owner | 
character varying(32) | 
not null | 
 | 
Identifiant de l'entité primaire de l'utilisateur ayant créé le regroupement (entities.entity_id) | 
Sauvegarde le contenu des regroupements de contacts
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
integer | 
not null | 
nextval('contacts_groups_lists_id_seq'::regclass) | 
Identifiant automatique | 
| contacts_groups_id | 
integer | 
not null | 
 | 
Identifiant du groupement de contact (contacts_groups.id) | 
| contact_addresses_id | 
integer | 
not null | 
 | 
Identifiant de l'adresse (contact_addresses.id) | 
Fait le lien entre les courriers et les contacts (multicontacts)
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| coll_id | 
character varying(32) | 
not null | 
 | 
deprecated | 
| res_id | 
bigint | 
not null | 
 | 
Indique le res_id du courrier (res_letterbox.res_id) | 
| contact_id | 
character varying(128) | 
not null | 
 | 
Indique l'identifiant du contact (contacts_v2.contact_id) | 
| address_id | 
bigint | 
not null | 
 | 
Indique l'identifiant de l'adresse (contact_addresses.id) | 
| mode | 
character varying | 
not null | 
'multi'::character varying | 
Sauvegarde les informations relatifs aux contacts
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| contact_id | 
bigint | 
not null | 
nextval('contact_v2_id_seq'::regclass) | 
Identifiant automatique du contact | 
| contact_type | 
bigint | 
not null | 
 | 
Identifiant du type de contact (contact_types.id) | 
| is_corporate_person | 
character(1) | 
 | 
'Y'::bpchar | 
Indique si c'est un contact moral ou particulier | 
| is_external_contact | 
character(1) | 
 | 
'N'::bpchar | 
Indique si c'est un contact externe ou pas (M2M) | 
| society | 
character varying(255) | 
 | 
 | 
Nom de la société du contact | 
| society_short | 
character varying(32) | 
 | 
 | 
Nom court de la société | 
| firstname | 
character varying(255) | 
 | 
 | 
Prénom | 
| lastname | 
character varying(255) | 
 | 
 | 
Nom | 
| title | 
character varying(255) | 
 | 
 | 
Titre du contact | 
| function | 
character varying(255) | 
 | 
 | 
Fonction du contact | 
| other_data | 
text | 
 | 
 | 
Informations complémentaires | 
| user_id | 
character varying(255) | 
not null | 
 | 
Identifiant de l'utilisateur ayant créé le contact (users.user_id) | 
| entity_id | 
character varying(32) | 
not null | 
 | 
Identifiant de l'entité primaire de l'utilisateur ayant créé le contact (entities.entity_id) | 
| creation_date | 
timestamp without time zone | 
not null | 
 | 
Date de création du contact | 
| update_date | 
timestamp without time zone | 
 | 
 | 
Date de dernière mise à jour du contact | 
| enabled | 
character varying(1) | 
not null | 
'Y'::bpchar | 
Indique si le contact est activé ou pas | 
convert_stack
Table de travail utilisée pour la conversion des docs en mode batch
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| coll_id | 
character varying(32) | 
not null | 
 | 
collection du document | 
| res_id | 
bigint | 
not null | 
 | 
identifiant unique du document | 
| convert_format | 
character varying(32) | 
not null | 
'pdf'::character varying | 
format de conversion demandé | 
| cnt_retry | 
integer | 
 | 
 | 
nombre de tentatives de conversion | 
| status | 
character(1) | 
not null | 
 | 
statut de la conversion | 
| work_batch | 
bigint | 
 | 
 | 
numéro du batch de conversion | 
| regex | 
character varying(32) | 
 | 
 | 
expression régulière pour filtrer les documents à convertir | 
difflist_types
Sauvegarde les types de liste de diffusion
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| difflist_type_id | 
character varying(50) | 
not null | 
 | 
Identifiant du type de liste de diffusion | 
| difflist_type_label | 
character varying(100) | 
not null | 
 | 
Libellé du type de liste de diffusion | 
| difflist_type_roles | 
text | 
 | 
 | 
Rôles disponibles pour ce type de liste de diffusion | 
| allow_entities | 
character varying(1) | 
not null | 
'N'::bpchar | 
Indique si les entités sont autorisées ou pas | 
| is_system | 
character varying(1) | 
not null | 
'N'::bpchar | 
Indique si c'est un type système ou pas | 
docserver_types
Sauvegarde les types de zones de stockage
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| docserver_type_id | 
character varying(32) | 
not null | 
 | 
Identifiant du type de zone de stockage | 
| docserver_type_label | 
character varying(255) | 
 | 
NULL::character varying | 
Libellé du type de zone de stockage | 
| enabled | 
character(1) | 
not null | 
'Y'::bpchar | 
Indique si le type est activé ou non | 
| fingerprint_mode | 
character varying(32) | 
 | 
NULL::character varying | 
deprecated | 
docservers
Sauvegarde les informations relatifs aux zones de stockages
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
integer | 
not null | 
nextval('docservers_id_seq'::regclass) | 
Identifiant automatique | 
| docserver_id | 
character varying(32) | 
not null | 
'1'::character varying | 
Identifiant de la zone de stockage | 
| docserver_type_id | 
character varying(32) | 
not null | 
 | 
Identifiant du type de zone de stockage (docserver_types.docserver_type_id) | 
| device_label | 
character varying(255) | 
 | 
NULL::character varying | 
Description de la zone de stockage | 
| is_readonly | 
character(1) | 
not null | 
'N'::bpchar | 
Indique si la zone de stockage est en lecture seule ou en écriture | 
| size_limit_number | 
bigint | 
not null | 
(0)::bigint | 
Indique la taille limite de la zone de stockage | 
| actual_size_number | 
bigint | 
not null | 
(0)::bigint | 
Indique la taille actuelle de la zone de stockage | 
| path_template | 
character varying(255) | 
not null | 
 | 
Chemin vers la zone de stockage | 
| creation_date | 
timestamp without time zone | 
not null | 
 | 
Date de création de la zone de stockage | 
| coll_id | 
character varying(32) | 
not null | 
'coll_1'::character varying | 
Collection | 
doctypes
Sauvegarde les informations relatifs aux types de documents
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| coll_id | 
character varying(32) | 
not null | 
''::character varying | 
deprecated | 
| type_id | 
integer | 
not null | 
nextval('doctypes_type_id_seq'::regclass) | 
Identifiant du type de document | 
| description | 
character varying(255) | 
not null | 
''::character varying | 
Libellé du type de document | 
| enabled | 
character(1) | 
not null | 
'Y'::bpchar | 
Indque si le type de document est activé ou pas | 
| doctypes_first_level_id | 
integer | 
 | 
 | 
Indique le premier niveau auquel est attaché ce type de document (doctypes_first_level.doctypes_first_level_id) | 
| doctypes_second_level_id | 
integer | 
 | 
 | 
Indique le second niveau auquel est attaché ce type de document (doctypes_second_level.doctypes_second_level_id) | 
| primary_retention | 
character varying(50) | 
 | 
NULL::character varying | 
deprecated | 
| secondary_retention | 
character varying(50) | 
 | 
NULL::character varying | 
deprecated | 
| retention_final_disposition | 
character varying(255) | 
 | 
NULL::character varying | 
Sort final des courriers ayant ce type de document | 
| retention_rule | 
character varying(15) | 
 | 
NULL::character varying | 
Regle de conservation | 
| duration_current_use | 
integer | 
 | 
 | 
Durée d'utilité courante | 
doctypes_first_level
Sauvegarde les informations relatifs aux premiers niveaux des types de documents
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| doctypes_first_level_id | 
integer | 
not null | 
nextval('doctypes_first_level_id_seq'::regclass) | 
Identifiant automatique du premier niveau de type de document | 
| doctypes_first_level_label | 
character varying(255) | 
not null | 
 | 
Libellé du premier niveau du type de document | 
| css_style | 
character varying(255) | 
 | 
 | 
deprecated | 
| enabled | 
character(1) | 
not null | 
'Y'::bpchar | 
Indique si ce niveau est activé ou non | 
doctypes_indexes
Sauvegarde le lien entre les champs customs et les types de document
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| type_id | 
bigint | 
not null | 
 | 
Identifiant du type de document (doctypes.type_id) | 
| coll_id | 
character varying(32) | 
not null | 
 | 
deprecated | 
| field_name | 
character varying(255) | 
not null | 
 | 
Identifiant du champ custom (index_letterbox.xml) | 
| mandatory | 
character(1) | 
not null | 
'N'::bpchar | 
Indique si le champ est obligatoire ou non | 
doctypes_second_level
Sauvegarde les informations relatifs aux seconds niveaux des types de documents
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| doctypes_second_level_id | 
integer | 
not null | 
nextval('doctypes_second_level_id_seq'::regclass) | 
Identifiant automatique du second niveau de type de document | 
| doctypes_second_level_label | 
character varying(255) | 
not null | 
 | 
Libellé du premier niveau du type de document | 
| doctypes_first_level_id | 
integer | 
not null | 
 | 
Identifiant du premier niveau auquel est rattaché le second niveau (doctypes_first_level.doctypes_first_level_id) | 
| css_style | 
character varying(255) | 
 | 
 | 
deprecated | 
| enabled | 
character(1) | 
not null | 
'Y'::bpchar | 
Indique si ce niveau est activé ou non | 
emails
Sauvegarde les emails
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
serial | 
not null | 
 | 
Identifiant technique | 
| user_id | 
integer | 
not null | 
 | 
Identifiant de l'utilisateur qui a envoyé le mail (users.id) | 
| sender | 
json | 
not null | 
'{}' | 
Informations de l'expediteur | 
| recipients | 
json | 
not null | 
'[]' | 
Destinataire(s) | 
| cc | 
json | 
not null | 
'[]' | 
Destinataire(s) en copie | 
| cci | 
json | 
not null | 
'[]' | 
Destinataire(s) en copie caché | 
| object | 
character varying(256) | 
 | 
 | 
Objet du mail | 
| body | 
text | 
 | 
 | 
Corps du mail | 
| document | 
json | 
 | 
 | 
Informations du document lié | 
| is_html | 
boolean | 
not null | 
true | 
Corps du mail en html | 
| status | 
character varying(16) | 
not null | 
 | 
Status du mail | 
| message_exchange_id | 
text | 
 | 
 | 
Informations M2M | 
| creation_date | 
timestamp without time zone | 
not null | 
 | 
Date de création | 
| send_date | 
timestamp without time zone | 
 | 
 | 
Date d'envoi | 
entities
Sauvegarde les informations relatifs aux entites
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
serial | 
not null | 
 | 
Identifiant technique | 
| entity_id | 
character varying(32) | 
not null | 
 | 
Identifiant de l'entité | 
| entity_label | 
character varying(255) | 
 | 
 | 
Libellé de l'entité | 
| short_label | 
character varying(50) | 
 | 
 | 
Nom court de l'entité | 
| entity_full_name | 
text | 
 | 
 | 
Bloc d'arborescence (arborescence de l'entité - manuel) | 
| enabled | 
character(1) | 
not null | 
'Y'::bpchar | 
Indique si l'entité est activé ou non | 
| adrs_1 | 
character varying(255) | 
 | 
 | 
Adresse 1 de l'entité | 
| adrs_2 | 
character varying(255) | 
 | 
 | 
Adresse 2 de l'entité | 
| adrs_3 | 
character varying(255) | 
 | 
 | 
Adresse 3 de l'entité | 
| zipcode | 
character varying(32) | 
 | 
 | 
Code postal | 
| city | 
character varying(255) | 
 | 
 | 
Ville | 
| country | 
character varying(255) | 
 | 
 | 
Pays | 
| email | 
character varying(255) | 
 | 
 | 
Courriel | 
| business_id | 
character varying(32) | 
 | 
 | 
Identifiant externe de l'entité (M2M) | 
| parent_entity_id | 
character varying(32) | 
 | 
 | 
Identifiant de l'entité parente (entity.entity_id) | 
| entity_type | 
character varying(64) | 
 | 
 | 
Type de l'entité (typentity.xml) | 
| ldap_id | 
character varying(255) | 
 | 
 | 
Identifiant de l'entité dans le ldap | 
| archival_agency | 
character varying(255) | 
 | 
 | 
Convention d'archivage | 
| archival_agreement | 
character varying(255) | 
 | 
 | 
Service d'archive | 
| folder_import | 
character varying(64) | 
 | 
 | 
Identifiant du dossier d'import | 
exports_templates
Sauvegarde les dernières colonnes exportées par un utilisateur dans la liste de résultats
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
serial | 
not null | 
 | 
Identifiant technique | 
| user_id | 
integer | 
not null | 
 | 
Identifiant de l'utilisateur qui a fait l'export (users.id) | 
| format | 
character varying(3) | 
not null | 
 | 
Format (pdf ou csv) | 
| delimiter | 
character varying(3) | 
 | 
 | 
Délimiteur dans le fichier csv | 
| data | 
json | 
not null | 
'[]' | 
Dernières colonnes exportées | 
foldertypes
Sauvegarde les informations relatifs aux types de dossier
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| foldertype_id | 
bigint | 
not null | 
nextval('foldertype_id_id_seq'::regclass) | 
Identifiant automatique du type de dossier | 
| foldertype_label | 
character varying(255) | 
not null | 
 | 
Libellé du type de dossier | 
| maarch_comment | 
text | 
 | 
 | 
Commentaires | 
| retention_time | 
character varying(50) | 
 | 
 | 
 | 
| custom_d1 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_f1 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_n1 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_t1 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_d2 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_f2 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_n2 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_t2 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_d3 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_f3 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_n3 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_t3 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_d4 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_f4 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_n4 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_t4 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_d5 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_f5 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_n5 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_t5 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_d6 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_t6 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_d7 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_t7 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_d8 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_t8 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_d9 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_t9 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_d10 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_t10 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_t11 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_t12 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_t13 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_t14 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| custom_t15 | 
character varying(10) | 
 | 
'0000000000'::character varying | 
 | 
| coll_id | 
character varying(32) | 
 | 
 | 
foldertypes_doctypes
Fait le lien entre les types de dossier et les types de document
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| foldertype_id | 
integer | 
not null | 
 | 
Identifiant du type de dossier (foldertypes.foldertype_id) | 
| doctype_id | 
integer | 
not null | 
 | 
Identifiant du type de document (doctypes.type_id) | 
foldertypes_doctypes_level1
Fait le lien entre les types de dossier et les premiers niveaux de type de document
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| foldertype_id | 
integer | 
not null | 
 | 
Identifiant du type de dossier (foldertypes.foldertype_id) | 
| doctypes_first_level_id | 
integer | 
not null | 
 | 
Identifiant du premier niveau de type de document (doctypes_first_level.doctypes_first_level_id) | 
foldertypes_indexes
Sauvegarde les champs complémentaires pour les types de dossiers
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| foldertype_id | 
bigint | 
not null | 
 | 
Identifiant du type de dossier (foldertypes.foldertype_id) | 
| field_name | 
character varying(255) | 
not null | 
 | 
Nom du champ (folder_index.xml) | 
| mandatory | 
character(1) | 
not null | 
'N'::bpchar | 
Indique si le champ est obligatoire ou non | 
fp_fileplan
Sauvegarde les informations relatifs aux plans de classement personnel
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| fileplan_id | 
integer | 
not null | 
nextval('fp_fileplan_fileplan_id_seq'::regclass) | 
Identifiant automatique du plan de classement | 
| fileplan_label | 
character varying(255) | 
 | 
 | 
Libellé du plan de classement | 
| user_id | 
character varying(128) | 
 | 
NULL::character varying | 
Utilisateur ayant créé le plan de classement (users.user_id) | 
| entity_id | 
character varying(32) | 
 | 
NULL::character varying | 
Identifiant de l'entité primaire de l'utilisateur ayant créé le plan de classement (entities.entity_id) | 
| is_serial_id | 
character varying(1) | 
not null | 
'Y'::character varying | 
 | 
| enabled | 
character varying(1) | 
not null | 
'Y'::character varying | 
Indique si le plan de classement est activé ou non | 
fp_fileplan_positions
Sauvegarde les positions des plans de classement personnel
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| position_id | 
integer | 
not null | 
nextval('fp_fileplan_positions_position_id_seq'::regclass) | 
Identifiant automatique de la position | 
| position_label | 
character varying(255) | 
 | 
 | 
Libellé de la position | 
| parent_id | 
character varying(32) | 
 | 
NULL::character varying | 
Identifiant de la position parente (fp_fileplan_positions.position_id) | 
| fileplan_id | 
bigint | 
not null | 
 | 
Identifiant du plan de classement auquel est attaché la position (fp_fileplan.fileplan_id) | 
| enabled | 
character varying(1) | 
not null | 
'Y'::character varying | 
Indique si la position est activée ou non | 
fp_res_fileplan_positions
Fait le lien entre les courriers et les positions des plans de classement personnel
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| res_id | 
bigint | 
not null | 
 | 
Identifiant du courrier (res_letterbox.res_id) | 
| coll_id | 
character varying(32) | 
not null | 
 | 
deprecated | 
| fileplan_id | 
bigint | 
not null | 
 | 
Identifiant du plan de classement auquel est attaché la position (fp_fileplan.fileplan_id) | 
| position_id | 
integer | 
not null | 
 | 
Identifiant de la position (fp_fileplan_positions.position_id) | 
groupbasket
Fait le lien entre les bannettes et les groupes
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
serial | 
not null | 
 | 
Identifiant automatique | 
| group_id | 
character varying(32) | 
not null | 
 | 
Identifiant du groupe (security.group_id) | 
| basket_id | 
character varying(32) | 
not null | 
 | 
Identifiant de la bannette (baskets.basket_id) | 
| list_display | 
json | 
 | 
'[]' | 
Affichage des informations dans la liste de résultat | 
groupbasket_redirect
Sauvegarde les types de redirection dans une bannette pour un groupe
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| system_id | 
integer | 
not null | 
nextval('groupbasket_redirect_system_id_seq'::regclass) | 
Identifiant automatique | 
| group_id | 
character varying(32) | 
not null | 
 | 
Identifiant du groupe (security.group_id) | 
| basket_id | 
character varying(32) | 
not null | 
 | 
Identifiant de la bannette (baskets.basket_id) | 
| action_id | 
integer | 
not null | 
 | 
Identifiant de l'action (actions.id) | 
| entity_id | 
character varying(32) | 
 | 
 | 
Identifiant des entités vers lesquelles on peut rediriger le courrier (entities.entity_id) | 
| keyword | 
character varying(255) | 
 | 
 | 
Mot-clé de redirection (redirect_keyords.xml) | 
| redirect_mode | 
character varying(32) | 
not null | 
 | 
Type de redirection (ENTITY, USERS) | 
groupbasket_status
Sauvegarde les statuts que peuvent prendre les courriers dans une bannette pour un groupe
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| system_id | 
integer | 
not null | 
nextval('groupbasket_status_system_id_seq'::regclass) | 
Identifiant automatique | 
| group_id | 
character varying(32) | 
not null | 
 | 
Identifiant du groupe (security.group_id) | 
| basket_id | 
character varying(32) | 
not null | 
 | 
Identifiant de la bannette (baskets.basket_id) | 
| action_id | 
integer | 
not null | 
 | 
Identifiant de l'action (actions.id) | 
| status_id | 
character varying(32) | 
 | 
 | 
Identifiant du statut vers lequel on peut rediriger le courrier (status.id) | 
| order | 
integer | 
not null | 
 | 
Ordre d'apparition du statut | 
history
Sauvegarde l'historique de toute l'application
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
bigint | 
not null | 
nextval('history_id_seq'::regclass) | 
Identifiant automatique | 
| table_name | 
character varying(32) | 
 | 
NULL::character varying | 
Nom de la table affectée | 
| record_id | 
character varying(255) | 
 | 
NULL::character varying | 
Identifiant de l'evenement affecté | 
| event_type | 
character varying(32) | 
not null | 
 | 
Type d'évenement | 
| user_id | 
character varying(128) | 
not null | 
 | 
Identifiant de l'utilisateur ayant fait l'action (users.user_id) | 
| event_date | 
timestamp without time zone | 
not null | 
 | 
Date de l'action | 
| info | 
text | 
 | 
 | 
Description de l'action | 
| id_module | 
character varying(50) | 
not null | 
'admin'::character varying | 
Module affecté par l'évenement | 
| remote_ip | 
character varying(32) | 
 | 
NULL::character varying | 
Adresse ip de l'utilisateur | 
| event_id | 
character varying(50) | 
 | 
 | 
Identifiant de l'évenement | 
history_batch
Sauvegarde l'historique des batchs exécutés via le cron
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
bigint | 
not null | 
nextval('history_batch_id_seq'::regclass) | 
Identifiant automatique | 
| module_name | 
character varying(32) | 
 | 
NULL::character varying | 
Module affecté par l'évenement | 
| batch_id | 
bigint | 
 | 
 | 
Identifiant du batch (parameters.param_value_int) | 
| event_date | 
timestamp without time zone | 
not null | 
 | 
Date de l'évenement | 
| total_processed | 
bigint | 
 | 
 | 
Nombre d'élément affecté | 
| total_errors | 
bigint | 
 | 
 | 
Nombre d'erreur | 
| info | 
text | 
 | 
 | 
Description | 
indexingmodels
Sauvegarde les modèles d'enregistrement des pages d'indexation
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
integer | 
not null | 
nextval('indexingmodels_id_seq'::regclass) | 
Identifiant automatique du modèle | 
| label | 
character varying(255) | 
not null | 
 | 
Libellé du modèle d'enregistrement | 
| fields_content | 
text | 
not null | 
 | 
Contenu du modèle, en json | 
lc_cycle_steps
Deprecated
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| policy_id | 
character varying(32) | 
not null | 
 | 
 | 
| cycle_id | 
character varying(32) | 
not null | 
 | 
 | 
| cycle_step_id | 
character varying(32) | 
not null | 
 | 
 | 
| cycle_step_desc | 
character varying(255) | 
not null | 
 | 
 | 
| docserver_type_id | 
character varying(32) | 
not null | 
 | 
 | 
| is_allow_failure | 
character(1) | 
not null | 
'N'::bpchar | 
 | 
| step_operation | 
character varying(32) | 
not null | 
 | 
 | 
| sequence_number | 
integer | 
not null | 
 | 
 | 
| is_must_complete | 
character(1) | 
not null | 
'N'::bpchar | 
 | 
| preprocess_script | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| postprocess_script | 
character varying(255) | 
 | 
NULL::character varying | 
lc_cycles
Deprecated
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| policy_id | 
character varying(32) | 
not null | 
 | 
 | 
| cycle_id | 
character varying(32) | 
not null | 
 | 
 | 
| cycle_desc | 
character varying(255) | 
not null | 
 | 
 | 
| sequence_number | 
integer | 
not null | 
 | 
 | 
| where_clause | 
text | 
 | 
 | 
 | 
| break_key | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| validation_mode | 
character varying(32) | 
not null | 
 | 
lc_policies
Deprecated
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| policy_id | 
character varying(32) | 
not null | 
 | 
 | 
| policy_name | 
character varying(255) | 
not null | 
 | 
 | 
| policy_desc | 
character varying(255) | 
not null | 
 | 
lc_stack
Deprecated
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| policy_id | 
character varying(32) | 
not null | 
 | 
 | 
| cycle_id | 
character varying(32) | 
not null | 
 | 
 | 
| cycle_step_id | 
character varying(32) | 
not null | 
 | 
 | 
| coll_id | 
character varying(32) | 
not null | 
 | 
 | 
| res_id | 
bigint | 
not null | 
 | 
 | 
| cnt_retry | 
integer | 
 | 
 | 
 | 
| status | 
character(1) | 
not null | 
 | 
 | 
| work_batch | 
bigint | 
 | 
 | 
 | 
| regex | 
character varying(32) | 
 | 
 | 
listinstance
Sauvegarde les listes de diffusion des courriers : liste de diffusion, visa, avis
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| listinstance_id | 
bigint | 
not null | 
nextval('listinstance_id_seq'::regclass) | 
Identifiant automatique | 
| coll_id | 
character varying(50) | 
not null | 
 | 
deprecated | 
| res_id | 
bigint | 
not null | 
 | 
Identifiant du courrier (res_letterbox.res_id) | 
| listinstance_type | 
character varying(50) | 
 | 
'DOC'::character varying | 
deprecated | 
| sequence | 
bigint | 
not null | 
 | 
deprecated | 
| item_id | 
character varying(128) | 
not null | 
 | 
Identifiant de l'objet (users.user_id ou entities.entity_id) | 
| item_type | 
character varying(255) | 
not null | 
 | 
Type de l'objet | 
| item_mode | 
character varying(50) | 
not null | 
 | 
Mode de l'objet (dest, cc) | 
| added_by_user | 
character varying(128) | 
not null | 
 | 
Identifiant de l'utilisateur ayant ajouter la ligne (users.user_id) | 
| added_by_entity | 
character varying(50) | 
not null | 
 | 
Identifiant de l'entité primaire de l'utilsateur ayant ajouté la ligne (entities.entity_id) | 
| visible | 
character varying(1) | 
not null | 
'Y'::bpchar | 
deprecated | 
| viewed | 
bigint | 
 | 
 | 
Nombre de fois que l'utilisateur à vu le courrier | 
| difflist_type | 
character varying(50) | 
 | 
 | 
Type de liste de diffusion (difflist_types.difflist_type_id) | 
| process_date | 
timestamp without time zone | 
 | 
 | 
Date à laquelle l'utilisateur a visé le courrier | 
| process_comment | 
character varying(255) | 
 | 
 | 
Commentaire visible dans le circuit de visa | 
| signatory | 
boolean | 
 | 
false | 
Indique si l'utilisateur a signé ou pas | 
| requested_signature | 
boolean | 
 | 
false | 
Indique si l'utilisateur doit signé un courrier ou pas | 
listinstance_history
Sauvegarde l'historique des listes de diffusion des courriers : liste de diffusion, visa, avis
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| listinstance_history_id | 
bigint | 
not null | 
nextval('listinstance_history_id_seq'::regclass) | 
Identifiant automatique | 
| coll_id | 
character varying(50) | 
not null | 
 | 
deprecated | 
| res_id | 
bigint | 
not null | 
 | 
Identifiant du courrier (res_letterbox.res_id) | 
| user_id | 
integer | 
not null | 
 | 
Identifiant de l'utilisateur ayant modifié la liste (users.id) | 
| updated_date | 
timestamp without time zone | 
not null | 
 | 
Date de mise à jour | 
listinstance_history_details
Sauvegarde le détail de l'historique des listes de diffusion des courriers : liste de diffusion, visa, avis
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| listinstance_history_details_id | 
bigint | 
not null | 
nextval('listinstance_history_details_id_seq'::regclass) | 
Identifiant automatique | 
| listinstance_history_id | 
bigint | 
not null | 
 | 
Identifiant de la liste de diffusion modifié (listinstance_history.listinstance_history_id) | 
| coll_id | 
character varying(50) | 
not null | 
 | 
deprecated | 
| res_id | 
bigint | 
not null | 
 | 
Identifiant du courrier (res_letterbox.res_id) | 
| listinstance_type | 
character varying(50) | 
 | 
'DOC'::character varying | 
deprecated | 
| sequence | 
bigint | 
not null | 
 | 
deprecated | 
| item_id | 
character varying(128) | 
not null | 
 | 
Identifiant de l'objet (users.user_id ou entities.entity_id) | 
| item_type | 
character varying(255) | 
not null | 
 | 
Type de l'objet | 
| item_mode | 
character varying(50) | 
not null | 
 | 
Mode de l'objet (dest, cc) | 
| added_by_user | 
character varying(128) | 
not null | 
 | 
Identifiant de l'utilisateur ayant ajouter la ligne (users.user_id) | 
| added_by_entity | 
character varying(50) | 
not null | 
 | 
Identifiant de l'entité primaire de l'utilsateur ayant ajouté la ligne (entities.entity_id) | 
| visible | 
character varying(1) | 
not null | 
'Y'::bpchar | 
deprecated | 
| viewed | 
bigint | 
 | 
 | 
Nombre de fois que l'utilisateur à vu le courrier | 
| difflist_type | 
character varying(50) | 
 | 
 | 
Type de liste de diffusion (difflist_types.difflist_type_id) | 
| process_date | 
timestamp without time zone | 
 | 
 | 
Date à laquelle l'utilisateur a visé le courrier | 
| process_comment | 
character varying(255) | 
 | 
 | 
Commentaire visible dans le circuit de visa | 
listmodels
Modèle de liste de diffusion : liste de diffusion, visa, avis
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
integer | 
not null | 
nextval('listmodels_id_seq'::regclass) | 
Identifiant automatique | 
| object_id | 
character varying(50) | 
not null | 
 | 
Identifiant de l'entité à laquelle est attaché le modele (entities.entity_id) | 
| object_type | 
character varying(255) | 
not null | 
 | 
Type de liste de diffusion (difflist_types.difflist_type_id) | 
| sequence | 
bigint | 
not null | 
 | 
deprecated | 
| item_id | 
character varying(128) | 
not null | 
 | 
Identifiant de l'objet (users.user_id ou entities.entity_id) | 
| item_type | 
character varying(255) | 
not null | 
 | 
Type de l'objet | 
| item_mode | 
character varying(50) | 
not null | 
 | 
Mode de l'objet (dest, cc) | 
| title | 
character varying(255) | 
 | 
 | 
Nom du modèle | 
| description | 
character varying(255) | 
 | 
 | 
Description du modèle | 
| process_comment | 
character varying(255) | 
 | 
 | 
Commentaire | 
| visible | 
character varying(1) | 
not null | 
'Y'::bpchar | 
deprecated | 
message_exchange
Plis numériques (M2M) et export seda
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| message_id | 
text | 
not null | 
 | 
Identifiant autoatique du pli numérique | 
| schema | 
text | 
 | 
 | 
Type de schema utilisé | 
| type | 
text | 
not null | 
 | 
Type d'archive | 
| status | 
text | 
not null | 
 | 
Statut de l'archive | 
| date | 
timestamp without time zone | 
not null | 
 | 
Date de création | 
| reference | 
text | 
not null | 
 | 
Référence de l'archive | 
| account_id | 
text | 
 | 
 | 
Identifiant de l'utilisateur ayant créé l'archive (users.user_id) | 
| sender_org_identifier | 
text | 
not null | 
 | 
Identifiant externe de l'entité expéditrice (entities.business_id) | 
| sender_org_name | 
text | 
 | 
 | 
Nom de l'entité expéditrice (entities.entity_label) | 
| recipient_org_identifier | 
text | 
not null | 
 | 
Identifiant externe de l'entité destinatrice (entities.business_id) | 
| recipient_org_name | 
text | 
 | 
 | 
Nom de l'entité destinatrice (entities.entity_label) | 
| archival_agreement_reference | 
text | 
 | 
 | 
 | 
| reply_code | 
text | 
 | 
 | 
 | 
| operation_date | 
timestamp without time zone | 
 | 
 | 
Date de traitement | 
| reception_date | 
timestamp without time zone | 
 | 
 | 
Date de reception | 
| related_reference | 
text | 
 | 
 | 
 | 
| request_reference | 
text | 
 | 
 | 
 | 
| reply_reference | 
text | 
 | 
 | 
 | 
| derogation | 
boolean | 
 | 
 | 
 | 
| data_object_count | 
integer | 
 | 
 | 
 | 
| size | 
numeric | 
 | 
 | 
 | 
| data | 
text | 
 | 
 | 
Bordereau au format json | 
| active | 
boolean | 
 | 
 | 
 | 
| archived | 
boolean | 
 | 
 | 
Chemin où est enregistré le paquet numérique | 
| res_id_master | 
numeric | 
 | 
 | 
Identifiant du courrier à partir du quel le pli numérique a été envoyé | 
| docserver_id | 
character varying(32) | 
 | 
NULL::character varying | 
Identifiant de la zone de stockage (docservers.id) | 
| path | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| filename | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| fingerprint | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| filesize | 
bigint | 
 | 
 | 
 | 
| file_path | 
text | 
 | 
 | 
mlb_coll_ext
Informations complémentaires de res_letterbox
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| res_id | 
bigint | 
not null | 
 | 
Identifiant du courrier (res_letterbox.res_id) | 
| category_id | 
character varying(50) | 
not null | 
 | 
Catégorie du courrier (categories dans config.xml) | 
| exp_contact_id | 
integer | 
 | 
 | 
Identifiant du contact expéditeur (contacts_v2.contact_id) | 
| exp_user_id | 
character varying(128) | 
 | 
NULL::character varying | 
Identifiant de l'utilisateur expéditeur (users.user_id) | 
| dest_contact_id | 
integer | 
 | 
 | 
Identifiant du contact destinataire (contacts_v2.contact_id) | 
| dest_user_id | 
character varying(128) | 
 | 
NULL::character varying | 
Identifiant de l'utilisateur destinataire (users.user_id) | 
| nature_id | 
character varying(50) | 
 | 
 | 
Nature du courrier (entreprise.xml) | 
| alt_identifier | 
character varying(255) | 
 | 
NULL::character varying | 
Numéro chrono du courrier | 
| admission_date | 
timestamp without time zone | 
 | 
 | 
Date de réception du courrier | 
| process_limit_date | 
timestamp without time zone | 
 | 
 | 
Date limite de traitement | 
| closing_date | 
timestamp without time zone | 
 | 
 | 
Date de clôture du courrier | 
| flag_alarm1 | 
character(1) | 
 | 
'N'::character varying | 
Indique si le courrier a été envoyé via la notification de 1ere relance | 
| flag_alarm2 | 
character(1) | 
 | 
'N'::character varying | 
Indique si le courrier a été envoyé via la notification de 2eme relance | 
| is_multicontacts | 
character(1) | 
 | 
 | 
Indique si ce courrier est en mode multicontact | 
| address_id | 
bigint | 
 | 
 | 
Identifiant de l'adresse du contact (contact_addresses.id) | 
mlb_doctype_ext
Informations complémentaires de doctypes
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| type_id | 
bigint | 
not null | 
 | 
Identifiant du type de courrier (doctypes.type_id) | 
| process_delay | 
bigint | 
not null | 
21::bigint | 
Nombre de jour pour traiter le courrier ayant ce type de courrier | 
| delay1 | 
bigint | 
not null | 
14::bigint | 
Nombre de jour avant la date limite de traitement pour faire la 1ere relance | 
| delay2 | 
bigint | 
not null | 
1::bigint | 
Nombre de jour après la date limite de traitement pour faire la 2ème relance | 
| process_mode | 
character varying(255) | 
 | 
 | 
Mode de traitement du courrier (process_modes dans entreprise.xml) | 
note_entities
Enregistre les entités qui peuvent voir la note
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
bigint | 
not null | 
nextval('notes_entities_id_seq'::regclass) | 
Identifiant automatique | 
| note_id | 
bigint | 
not null | 
 | 
Identifiant de la note (notes.id) | 
| item_id | 
character varying(50) | 
 | 
 | 
Identifiant de l'entité qui peut voir la note (entities.entity_id) | 
notes
Sauvegarde les notes attachés aux courriers
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
bigint | 
not null | 
nextval('notes_seq'::regclass) | 
Identifiant automatique | 
| identifier | 
bigint | 
not null | 
 | 
Identifiant du courrier auquel est attaché la note (res_letterbox.res_id) | 
| user_id | 
character varying(128) | 
not null | 
 | 
Identifiant de l'utilisateur ayant ajouter la note (users.user_id) | 
| creation_date | 
timestamp without time zone | 
not null | 
 | 
Date à laquelle a été ajoutée la note | 
| note_text | 
text | 
not null | 
 | 
Contenu de la note | 
| type | 
character varying(32) | 
not null | 
'resource' | 
Type de la note | 
notif_email_stack
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| email_stack_sid | 
bigint | 
not null | 
nextval('notif_email_stack_seq'::regclass) | 
Identifiant automatique | 
| sender | 
character varying(255) | 
not null | 
 | 
Email de l'expéditeur | 
| reply_to | 
character varying(255) | 
 | 
 | 
Email qui recevra la réponse, s'il y en a | 
| recipient | 
character varying(2000) | 
not null | 
 | 
Email des personnes destinataire de la notification | 
| cc | 
character varying(2000) | 
 | 
 | 
Email des personnes en copie de la notification | 
| bcc | 
character varying(2000) | 
 | 
 | 
Email des personnes en copie carbone de la notification | 
| subject | 
character varying(255) | 
 | 
 | 
Sujet de la notification | 
| html_body | 
text | 
 | 
 | 
Contenu de la notification en HTML | 
| text_body | 
text | 
 | 
 | 
Contenu de la notification en texte | 
| charset | 
character varying(50) | 
not null | 
 | 
Encodage du contenu de la notification | 
| attachments | 
character varying(2000) | 
 | 
 | 
Identifiant des courriers notifiés (res_letterbox.res_id) | 
| module | 
character varying(50) | 
not null | 
 | 
deprecated | 
| exec_date | 
timestamp without time zone | 
 | 
 | 
Date à laquelle a été envoyée la notification | 
| exec_result | 
character varying(50) | 
 | 
 | 
Indique si la notification a été envoyée avec succès | 
notif_event_stack
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| event_stack_sid | 
bigint | 
not null | 
nextval('notif_event_stack_seq'::regclass) | 
Identifiant automatique | 
| notification_sid | 
bigint | 
not null | 
 | 
Identifiant de la notification ayant attrapé ce courrier (notifications.notification_sid) | 
| table_name | 
character varying(50) | 
not null | 
 | 
Nom de la table où est enregistré l'élément notifié | 
| record_id | 
character varying(128) | 
not null | 
 | 
Identifiant de l'élément notifié | 
| user_id | 
character varying(128) | 
not null | 
 | 
Identifiant de l'utilisateur ayant généré cette action (users.user_id) | 
| event_info | 
character varying(255) | 
not null | 
 | 
Description de l'événement | 
| event_date | 
timestamp without time zone | 
not null | 
 | 
Date de l'événement | 
| exec_date | 
timestamp without time zone | 
 | 
 | 
Date à laquelle cette événement a été intégré dans une notification | 
| exec_result | 
character varying(50) | 
 | 
 | 
Indique si cette événement a été intégré dans une notification | 
deprecated
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| rss_stack_sid | 
bigint | 
not null | 
nextval('notif_rss_stack_seq'::regclass) | 
Identifiant automatique | 
| rss_user_id | 
character varying(128) | 
not null | 
 | 
 | 
| rss_event_stack_sid | 
bigint | 
not null | 
 | 
 | 
| rss_event_url | 
text | 
 | 
 | 
notifications
Enregistre le paramétrage des notifications
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| notification_sid | 
bigint | 
not null | 
nextval('notifications_seq'::regclass) | 
Identifiant automatique | 
| notification_id | 
character varying(50) | 
not null | 
 | 
Identifiant de la notification (repris dans les scripts sh) | 
| description | 
character varying(255) | 
 | 
 | 
Description de la notification | 
| is_enabled | 
character varying(1) | 
not null | 
'Y'::bpchar | 
Indique si la notification est activée ou pas | 
| event_id | 
character varying(255) | 
not null | 
 | 
Evenement pour déclencer la notification | 
| notification_mode | 
character varying(30) | 
not null | 
 | 
deprecated | 
| template_id | 
bigint | 
 | 
 | 
Identifiant du template de la notification (templates.template_id) | 
| diffusion_type | 
character varying(50) | 
not null | 
 | 
Type de diffusion de la notification | 
| diffusion_properties | 
text | 
 | 
 | 
Identifiant des utilisateurs, groupes, entités qui recevront la notification | 
| attachfor_type | 
character varying(50) | 
 | 
 | 
Indique comment sont attachés les courriers en pièce jointe de la notification | 
| attachfor_properties | 
character varying(2048) | 
 | 
 | 
Indique qui recevra les courriers en pièce jointe de la notification | 
parameters
Enregistre certains paramètres technique et fonctionnel de l'application
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
character varying(255) | 
not null | 
 | 
Identifiant du paramètre | 
| description | 
text | 
 | 
 | 
Description du paramètre | 
| param_value_string | 
text | 
 | 
NULL::character varying | 
Valeur du paramètre en chaine de charactère | 
| param_value_int | 
integer | 
 | 
 | 
Valeur du paramètre en nombre entier | 
| param_value_date | 
timestamp without time zone | 
 | 
 | 
Valeur du paramètre en date | 
password_history
Enregistre l'historique des mots de passe utilisateurs
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
serial | 
not null | 
 | 
Identifiant automatique | 
| user_serial_id | 
integer | 
not null | 
 | 
Identifiant utilisateur (users.id) | 
| password | 
character varying(255) | 
not null | 
 | 
Mot de passe haché | 
password_rules
Enregistre les règles de mot de passe
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
serial | 
not null | 
 | 
Identifiant automatique | 
| label | 
character varying(64) | 
not null | 
 | 
Nom de la règle | 
| value | 
integer | 
not null | 
 | 
Valeur de la règle | 
| enabled | 
boolean | 
 | 
false | 
Activation de la règle | 
priorities
Sauvegarde les priorités
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
character varying(16) | 
not null | 
 | 
Identifiant automatique | 
| label | 
character varying(128) | 
not null | 
 | 
Nom de la priorité | 
| color | 
character varying(128) | 
not null | 
 | 
Couleur de la priorité dans les listes de résultats, en code html | 
| working_days | 
boolean | 
not null | 
 | 
Indique si la date de traitement est comptée en jours ouvrés ou en calendaire | 
| delays | 
integer | 
 | 
 | 
Indique le nombre de jour pour traiter le courrier | 
| default_priority | 
boolean | 
not null | 
false | 
Indique si c'est la priorité par défaut ou pas | 
| order | 
integer | 
 | 
 | 
Ordre d'apparition de la priorité dans la liste déroulante | 
redirected_baskets
Sauvegarde les priorités
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
serial | 
not null | 
 | 
Identifiant automatique | 
| actual_user_id | 
integer | 
not null | 
 | 
Identifiant de l'utilisateur assigné (users.id) | 
| owner_user_id | 
integer | 
not null | 
 | 
Identifiant de l'utilisateur redirigeant (users.id) | 
| basket_id | 
character varying(255) | 
not null | 
 | 
Identifiant de la bannette redirigée (baskets.basket_id) | 
| group_id | 
integer | 
not null | 
 | 
Identifiant du groupe lié à la bannette (usergroups.id) | 
res_attachments
Sauvegarde les informations liées aux pièces jointes (version 1 uniquement)
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| res_id | 
bigint | 
not null | 
nextval('res_attachment_res_id_seq'::regclass) | 
Identifiant de la pièce jointe | 
| title | 
character varying(255) | 
 | 
NULL::character varying | 
Titre de la pièce jointe | 
| subject | 
text | 
 | 
 | 
deprecated | 
| description | 
text | 
 | 
 | 
deprecated | 
| type_id | 
bigint | 
 | 
 | 
Type de la pièce jointe | 
| format | 
character varying(50) | 
not null | 
 | 
Extension du fichier sauvegardé | 
| typist | 
character varying(128) | 
not null | 
 | 
Identifiant de l'utilisateur ayant créé la pièce jointe (users.user_id) | 
| creation_date | 
timestamp without time zone | 
not null | 
 | 
Date de création | 
| author | 
character varying(255) | 
 | 
NULL::character varying | 
deprecated | 
| identifier | 
character varying(255) | 
 | 
NULL::character varying | 
Numéro chrono | 
| source | 
character varying(255) | 
 | 
NULL::character varying | 
deprecated | 
| relation | 
bigint | 
 | 
 | 
Version de la pièce jointe | 
| doc_date | 
timestamp without time zone | 
 | 
 | 
Date du document | 
| docserver_id | 
character varying(32) | 
not null | 
 | 
Identifiant de la zone de stockage où est enregistré le fichier (docservers.docserver_id) | 
| folders_system_id | 
bigint | 
 | 
 | 
deprecated | 
| path | 
character varying(255) | 
 | 
NULL::character varying | 
Chemin où est enregistré le fichier dans la zone de stockage | 
| filename | 
character varying(255) | 
 | 
NULL::character varying | 
Nom du fichier dans la zone de stockage | 
| offset_doc | 
character varying(255) | 
 | 
NULL::character varying | 
deprecated | 
| fingerprint | 
character varying(255) | 
 | 
NULL::character varying | 
Empreinte numérique du fichier | 
| filesize | 
bigint | 
 | 
 | 
Taille du fichier | 
| status | 
character varying(10) | 
 | 
NULL::character varying | 
Statut de la pièce jointe (status.id) | 
| destination | 
character varying(50) | 
 | 
NULL::character varying | 
deprecated | 
| validation_date | 
timestamp without time zone | 
 | 
 | 
Date de validation de la pièce jointe | 
| effective_date | 
timestamp without time zone | 
 | 
 | 
deprecated | 
| work_batch | 
bigint | 
 | 
 | 
numéro du batch de conversion | 
| origin | 
character varying(50) | 
 | 
NULL::character varying | 
deprecated | 
| priority | 
character varying(16) | 
 | 
 | 
deprecated | 
| initiator | 
character varying(50) | 
 | 
NULL::character varying | 
Identifiant de l'entité primaire de l'utilisateur ayant créé la pièce jointe (entities.entity_id) | 
| dest_user | 
character varying(128) | 
 | 
NULL::character varying | 
deprecated | 
| coll_id | 
character varying(32) | 
not null | 
 | 
deprecated | 
| res_id_master | 
bigint | 
 | 
 | 
Identifiant du courrier auquel est attaché la pièce jointe (res_letterbox.res_id) | 
| attachment_type | 
character varying(255) | 
 | 
NULL::character varying | 
Type d'attachement (entreprise.xml) | 
| dest_contact_id | 
bigint | 
 | 
 | 
Identifiant du contact auquel est attaché la pièce jointe (contacts_v2.contact_id) | 
| dest_address_id | 
bigint | 
 | 
 | 
Identifiant de l'adresse à laquelle est attaché la pièce jointe (contact_addresses.id) | 
| updated_by | 
character varying(128) | 
 | 
NULL::character varying | 
Identifiant de l'utilisateur ayant fait la dernière mise à jour (users.user_id) | 
| is_multicontacts | 
character(1) | 
 | 
 | 
deprecated | 
| is_multi_docservers | 
character(1) | 
not null | 
'N'::bpchar | 
deprecated | 
| tnl_path | 
character varying(255) | 
 | 
NULL::character varying | 
Chemin vers l'imagette | 
| tnl_filename | 
character varying(255) | 
 | 
NULL::character varying | 
Nom du fichier de l'imagette | 
| in_signature_book | 
boolean | 
 | 
false | 
Indique si la pièce jointe est intégrée dans le parapheur | 
| in_send_attach | 
boolean | 
 | 
false | 
Indique si la pièce jointe est intégrée dans les envois | 
| signatory_user_serial_id | 
integer | 
 | 
 | 
Identifiant de l'utilisateur qui a signé la pièce jointe (users.id) | 
| convert_result | 
character varying(10) | 
 | 
NULL::character varying | 
Résultat de la conversion en pdf | 
| convert_attempts | 
integer | 
 | 
 | 
Nombre de tentative de conversion en pdf | 
| fulltext_result | 
character varying(10) | 
 | 
NULL::character varying | 
Résultat de l'extraction full text | 
| fulltext_attempts | 
integer | 
 | 
 | 
Nombre de tentative d'extraction full text | 
| tnl_result | 
character varying(10) | 
 | 
NULL::character varying | 
Résultat de la conversion en imagette | 
| tnl_attempts | 
integer | 
 | 
 | 
Nombre de tentative de conversion en imagette | 
| external_id | 
character varying(255) | 
 | 
NULL::character varying | 
Identifiants externes | 
res_letterbox
Sauvegarde les informations liées aux courriers principales
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| res_id | 
bigint | 
not null | 
nextval('res_id_mlb_seq'::regclass) | 
Identifiant unique du courrier | 
| title | 
character varying(255) | 
 | 
NULL::character varying | 
deprecated | 
| subject | 
text | 
 | 
 | 
Objet du courrier | 
| description | 
text | 
 | 
 | 
deprecated | 
| type_id | 
bigint | 
not null | 
 | 
Type de courrier (doctypes.type_id) | 
| format | 
character varying(50) | 
not null | 
 | 
Extension du fichier sauvegardé | 
| typist | 
character varying(128) | 
not null | 
 | 
Identifiant de l'utilisateur ayant créé la pièce jointe (users.user_id) | 
| creation_date | 
timestamp without time zone | 
not null | 
 | 
Date decréation | 
| modification_date | 
timestamp without time zone | 
 | 
now() | 
Date de mise à jour | 
| converter_result | 
character varying(10) | 
 | 
NULL::character varying | 
Résultat de la conversion en pdf | 
| author | 
character varying(255) | 
 | 
NULL::character varying | 
deprecated | 
| identifier | 
character varying(255) | 
 | 
NULL::character varying | 
deprecated | 
| source | 
character varying(255) | 
 | 
NULL::character varying | 
deprecated | 
| relation | 
bigint | 
 | 
 | 
deprecated | 
| doc_date | 
timestamp without time zone | 
 | 
 | 
Date du document | 
| docserver_id | 
character varying(32) | 
not null | 
 | 
Identifiant de la zone de stockage où est enregistré le fichier (docservers.docserver_id) | 
| folders_system_id | 
bigint | 
 | 
 | 
Identifiant du dossier où est placé le courrier (folders.folder_system_id) | 
| path | 
character varying(255) | 
 | 
NULL::character varying | 
Chemin du fichier dans la zone de stockage | 
| filename | 
character varying(255) | 
 | 
NULL::character varying | 
Nom du fichier dans la zone de stockage | 
| offset_doc | 
character varying(255) | 
 | 
NULL::character varying | 
deprecated | 
| fingerprint | 
character varying(255) | 
 | 
NULL::character varying | 
Empreinte numérique du fichier | 
| filesize | 
bigint | 
 | 
 | 
Taille du fichier | 
| status | 
character varying(10) | 
not null | 
 | 
Statut du courrier (status.id) | 
| destination | 
character varying(50) | 
 | 
NULL::character varying | 
Identifiant de l'entité destinatrice (entities.entity_id) | 
| validation_date | 
timestamp without time zone | 
 | 
 | 
deprecated | 
| work_batch | 
bigint | 
 | 
 | 
Identifiant du batch autoimport dans lequel a été importé le courrier (parameters.id : work_batch_autoimport_id) | 
| origin | 
character varying(50) | 
 | 
NULL::character varying | 
deprecated | 
| priority | 
character varying(16) | 
 | 
 | 
Identifiant de la priorité du courrier (priorities.id) | 
| policy_id | 
character varying(32) | 
 | 
NULL::character varying | 
deprecated | 
| cycle_id | 
character varying(32) | 
 | 
NULL::character varying | 
deprecated | 
| is_multi_docservers | 
character(1) | 
not null | 
'N'::bpchar | 
deprecated | 
| custom_t1 | 
text | 
 | 
 | 
 | 
| custom_n1 | 
bigint | 
 | 
 | 
 | 
| custom_f1 | 
numeric | 
 | 
 | 
 | 
| custom_d1 | 
timestamp without time zone | 
 | 
 | 
 | 
| custom_t2 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_n2 | 
bigint | 
 | 
 | 
 | 
| custom_f2 | 
numeric | 
 | 
 | 
 | 
| custom_d2 | 
timestamp without time zone | 
 | 
 | 
 | 
| custom_t3 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_n3 | 
bigint | 
 | 
 | 
 | 
| custom_f3 | 
numeric | 
 | 
 | 
 | 
| custom_d3 | 
timestamp without time zone | 
 | 
 | 
 | 
| custom_t4 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_n4 | 
bigint | 
 | 
 | 
 | 
| custom_f4 | 
numeric | 
 | 
 | 
 | 
| custom_d4 | 
timestamp without time zone | 
 | 
 | 
 | 
| custom_t5 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_n5 | 
bigint | 
 | 
 | 
 | 
| custom_f5 | 
numeric | 
 | 
 | 
 | 
| custom_d5 | 
timestamp without time zone | 
 | 
 | 
 | 
| custom_t6 | 
text | 
 | 
NULL::character varying | 
 | 
| custom_d6 | 
timestamp without time zone | 
 | 
 | 
 | 
| custom_t7 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_d7 | 
timestamp without time zone | 
 | 
 | 
 | 
| custom_t8 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_d8 | 
timestamp without time zone | 
 | 
 | 
 | 
| custom_t9 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_d9 | 
timestamp without time zone | 
 | 
 | 
 | 
| custom_t10 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_d10 | 
timestamp without time zone | 
 | 
 | 
 | 
| custom_t11 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_t12 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_t13 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_t14 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_t15 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| reference_number | 
character varying(255) | 
 | 
NULL::character varying | 
N° recommandé | 
| tablename | 
character varying(32) | 
 | 
'res_letterbox'::character varying | 
deprecated | 
| initiator | 
character varying(50) | 
 | 
NULL::character varying | 
Identifiant de l'entité initiatrice (entities.entity_id) | 
| dest_user | 
character varying(128) | 
 | 
NULL::character varying | 
Identifiant de l'utilisateur destinataire (users.user_id) | 
| locker_user_id | 
character varying(255) | 
 | 
NULL::character varying | 
Identifiant de l'utilisateur en train de traiter le courrier (users.user_id) | 
| locker_time | 
timestamp without time zone | 
 | 
 | 
Date à laquelle le courrier sera libéré | 
| confidentiality | 
character(1) | 
 | 
 | 
Indique si le courrier est confidentiel ou pas | 
| tnl_path | 
character varying(255) | 
 | 
NULL::character varying | 
Chemin vers l'imagette dans la zone de stockage | 
| tnl_filename | 
character varying(255) | 
 | 
NULL::character varying | 
Nom du fichier dans la zone de stockage | 
| convert_result | 
character varying(10) | 
 | 
NULL::character varying | 
Résultat de la convertion en pdf | 
| convert_attempts | 
integer | 
 | 
 | 
Nombre de tentative de conversion en pdf | 
| fulltext_result | 
character varying(10) | 
 | 
NULL::character varying | 
Résultat de l'extraction en full text | 
| fulltext_attempts | 
integer | 
 | 
 | 
Nombre de tentative d'extraction full text | 
| tnl_result | 
character varying(10) | 
 | 
NULL::character varying | 
Résultat de la conversion en imagette | 
| tnl_attempts | 
integer | 
 | 
 | 
Nombre de tentative de conversion en imagette | 
| external_reference | 
character varying(255) | 
 | 
 | 
Reference externe | 
| external_id | 
json | 
 | 
'{}' | 
Identifiants externes | 
| external_link | 
character varying(255) | 
 | 
NULL::character varying | 
Lien externe vers le courrier | 
| departure_date | 
timestamp without time zone | 
 | 
 | 
Date de départ du courrier | 
| opinion_limit_date | 
timestamp without time zone | 
 | 
NULL | 
Date limite d'envoi de l'avis | 
| department_number_id | 
text | 
 | 
 | 
Numéro du département | 
| barcode | 
text | 
 | 
 | 
Code à barres | 
| external_signatory_book_id | 
integer | 
 | 
 | 
Identifiant du courrier dans le parapheur externe | 
res_linked
Fait le lien entre deux courriers
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
bigint | 
not null | 
nextval('res_linked_mlb_seq'::regclass) | 
Identifiant automatique | 
| res_parent | 
bigint | 
not null | 
 | 
Identifiant du 1er courier (res_letterbox.res_id) | 
| res_child | 
bigint | 
not null | 
 | 
Identifiant du 2eme courier (res_letterbox.res_id) | 
| coll_id | 
character varying(50) | 
not null | 
 | 
deprecated | 
res_mark_as_read
Sauvegarde les couriers qu'un utilisateur a marqué comme lu
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| coll_id | 
character varying(32) | 
 | 
 | 
deprecated | 
| res_id | 
bigint | 
 | 
 | 
Identifiant du courier marqué comme lu (res_letterbox.res_id) | 
| user_id | 
character varying(128) | 
 | 
 | 
Identifiant de l'utilisateur ayant marqué comme lu (users.user_id) | 
| basket_id | 
character varying(32) | 
 | 
 | 
Identifiant de la bannette dans laquelle le courrier est marqué comme lu (baskets.basket_id) | 
res_version_attachments
Sauvegarde les informations liées aux pièces jointes (> version 1)
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| res_id | 
bigint | 
not null | 
nextval('res_id_version_attachments_seq'::regclass) | 
Identifiant de la pièce jointe | 
| title | 
character varying(255) | 
 | 
NULL::character varying | 
Titre de la pièce jointe | 
| subject | 
text | 
 | 
 | 
deprecated | 
| description | 
text | 
 | 
 | 
deprecated | 
| type_id | 
bigint | 
not null | 
 | 
Type de la pièce jointe | 
| format | 
character varying(50) | 
not null | 
 | 
Extension du fichier sauvegardé | 
| typist | 
character varying(128) | 
not null | 
 | 
Identifiant de l'utilisateur ayant créé la pièce jointe (users.user_id) | 
| creation_date | 
timestamp without time zone | 
not null | 
 | 
Date de création | 
| converter_result | 
character varying(10) | 
 | 
NULL::character varying | 
Résultat de la conversion en pdf | 
| author | 
character varying(255) | 
 | 
NULL::character varying | 
deprecated | 
| identifier | 
character varying(255) | 
 | 
NULL::character varying | 
Numéro chrono | 
| source | 
character varying(255) | 
 | 
NULL::character varying | 
deprecated | 
| relation | 
bigint | 
 | 
 | 
Version de la pièce jointe | 
| doc_date | 
timestamp without time zone | 
 | 
 | 
Date du document | 
| docserver_id | 
character varying(32) | 
not null | 
 | 
Identifiant de la zone de stockage où est enregistré le fichier (docservers.docserver_id) | 
| folders_system_id | 
bigint | 
 | 
 | 
deprecated | 
| path | 
character varying(255) | 
 | 
NULL::character varying | 
Chemin où est enregistré le fichier dans la zone de stockage | 
| filename | 
character varying(255) | 
 | 
NULL::character varying | 
Nom du fichier dans la zone de stockage | 
| offset_doc | 
character varying(255) | 
 | 
NULL::character varying | 
deprecated | 
| fingerprint | 
character varying(255) | 
 | 
NULL::character varying | 
Empreinte numérique du fichier | 
| filesize | 
bigint | 
 | 
 | 
Taille du fichier | 
| status | 
character varying(10) | 
not null | 
 | 
Statut de la pièce jointe (status.id) | 
| destination | 
character varying(50) | 
 | 
NULL::character varying | 
deprecated | 
| validation_date | 
timestamp without time zone | 
 | 
 | 
Date de validation de la pièce jointe | 
| effective_date | 
timestamp without time zone | 
 | 
 | 
deprecated | 
| origin | 
character varying(50) | 
 | 
NULL::character varying | 
deprecated | 
| priority | 
character varying(16) | 
 | 
 | 
deprecated | 
| policy_id | 
character varying(32) | 
 | 
 | 
deprecated | 
| cycle_id | 
character varying(32) | 
 | 
 | 
deprecated | 
| is_multi_docservers | 
character(1) | 
not null | 
'N'::bpchar | 
deprecated | 
| custom_t1 | 
text | 
 | 
 | 
 | 
| custom_n1 | 
bigint | 
 | 
 | 
 | 
| custom_f1 | 
numeric | 
 | 
 | 
 | 
| custom_d1 | 
timestamp without time zone | 
 | 
 | 
 | 
| custom_t2 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_n2 | 
bigint | 
 | 
 | 
 | 
| custom_f2 | 
numeric | 
 | 
 | 
 | 
| custom_d2 | 
timestamp without time zone | 
 | 
 | 
 | 
| custom_t3 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_n3 | 
bigint | 
 | 
 | 
 | 
| custom_f3 | 
numeric | 
 | 
 | 
 | 
| custom_d3 | 
timestamp without time zone | 
 | 
 | 
 | 
| custom_t4 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_n4 | 
bigint | 
 | 
 | 
 | 
| custom_f4 | 
numeric | 
 | 
 | 
 | 
| custom_d4 | 
timestamp without time zone | 
 | 
 | 
 | 
| custom_t5 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_n5 | 
bigint | 
 | 
 | 
 | 
| custom_f5 | 
numeric | 
 | 
 | 
 | 
| custom_d5 | 
timestamp without time zone | 
 | 
 | 
 | 
| custom_t6 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_d6 | 
timestamp without time zone | 
 | 
 | 
 | 
| custom_t7 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_d7 | 
timestamp without time zone | 
 | 
 | 
 | 
| custom_t8 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_d8 | 
timestamp without time zone | 
 | 
 | 
 | 
| custom_t9 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_d9 | 
timestamp without time zone | 
 | 
 | 
 | 
| custom_t10 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_d10 | 
timestamp without time zone | 
 | 
 | 
 | 
| custom_t11 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_t12 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_t13 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_t14 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| custom_t15 | 
character varying(255) | 
 | 
NULL::character varying | 
 | 
| tablename | 
character varying(32) | 
 | 
'res_version_attachments'::character varying | 
deprecated | 
| initiator | 
character varying(50) | 
 | 
NULL::character varying | 
Identifiant de l'entité primaire de l'utilisateur ayant créé la pièce jointe (entities.entity_id) | 
| dest_user | 
character varying(128) | 
 | 
NULL::character varying | 
deprecated | 
| cycle_date | 
timestamp without time zone | 
 | 
 | 
deprecated | 
| coll_id | 
character varying(32) | 
not null | 
 | 
deprecated | 
| attachment_type | 
character varying(255) | 
 | 
NULL::character varying | 
Type d'attachement (entreprise.xml) | 
| dest_contact_id | 
bigint | 
 | 
 | 
Identifiant du contact auquel est attaché la pièce jointe (contacts_v2.contact_id) | 
| dest_address_id | 
bigint | 
 | 
 | 
Identifiant de l'adresse à laquelle est attaché la pièce jointe (contact_addresses.id) | 
| updated_by | 
character varying(128) | 
 | 
NULL::character varying | 
Identifiant de l'utilisateur ayant fait la dernière mise à jour (users.user_id) | 
| is_multicontacts | 
character(1) | 
 | 
 | 
deprecated | 
| res_id_master | 
bigint | 
 | 
 | 
Identifiant du courrier auquel est attaché la pièce jointe (res_letterbox.res_id) | 
| attachment_id_master | 
bigint | 
 | 
 | 
Identifiant de la 1ère version de la pièce jointe (res_attachments.res_id) | 
| in_signature_book | 
boolean | 
 | 
false | 
Indique si la pièce jointe est intégrée dans le parapheur | 
| in_send_attach | 
boolean | 
 | 
false | 
Indique si la pièce jointe est intégrée dans les envois | 
| signatory_user_serial_id | 
integer | 
 | 
 | 
Identifiant de l'utilisateur qui a signé la pièce jointe (users.id) | 
| convert_result | 
character varying(10) | 
 | 
NULL::character varying | 
Résultat de la conversion en pdf | 
| convert_attempts | 
integer | 
 | 
 | 
Nombre de tentative de conversion en pdf | 
| fulltext_result | 
character varying(10) | 
 | 
NULL::character varying | 
Résultat de l'extraction full text | 
| fulltext_attempts | 
integer | 
 | 
 | 
Nombre de tentative d'extraction full text | 
| tnl_result | 
character varying(10) | 
 | 
NULL::character varying | 
Résultat de la conversion en imagette | 
| tnl_attempts | 
integer | 
 | 
 | 
Nombre de tentative de conversion en imagette | 
Lien expéditeur/destinataire avec un courrier
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
serial | 
not null | 
 | 
Identifiant automatique | 
| res_id | 
int | 
not null | 
 | 
Identifiant du courier (res_letterbox.res_id) | 
| item_id | 
int | 
not null | 
 | 
Identifiant du contact (users.id)(contact_addresses.id)(entities.id) | 
| type | 
character varying(32) | 
not null | 
 | 
Type de contact (user, contact, entity) | 
| mode | 
character varying(32) | 
not null | 
 | 
Mode du contact dans le courrier (sender, recipient) | 
saved_queries
Sauvegarde les rechercehs pre-enregistrées
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| query_id | 
bigint | 
not null | 
nextval('query_id_seq'::regclass) | 
Identifiant automatique | 
| user_id | 
character varying(128) | 
 | 
NULL::character varying | 
Identifiant de l'utilisateur ayant sauvegardé la recherche (users.user_id) | 
| query_name | 
character varying(255) | 
not null | 
 | 
Nom de la recherche pré enregistrée | 
| creation_date | 
timestamp without time zone | 
not null | 
 | 
Date de création | 
| created_by | 
character varying(128) | 
not null | 
 | 
deprecated | 
| query_type | 
character varying(50) | 
not null | 
 | 
deprecated | 
| query_txt | 
text | 
not null | 
 | 
Contenu de la recherche en json | 
| last_modification_date | 
timestamp without time zone | 
 | 
 | 
deprecated | 
security
Défini le périmètre d'un groupe
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| security_id | 
bigint | 
not null | 
nextval('security_security_id_seq'::regclass) | 
Identifiant automatique | 
| group_id | 
character varying(32) | 
not null | 
 | 
Identifiant du groupe (usergroups.group_id) | 
| coll_id | 
character varying(32) | 
not null | 
 | 
deprecated | 
| where_clause | 
text | 
 | 
 | 
Périmètre de visibilité du groupe (clause sql) | 
| maarch_comment | 
text | 
 | 
 | 
Description du groupe | 
shippings
Sauvegarde les envois postaux
| Colonne | 
Type | 
Nullable | 
Par défaut | 
Description | 
| id | 
serial | 
not null | 
 | 
Identifiant automatique | 
| user_id | 
integer | 
not null | 
 | 
Identifiant de l'utilisateur ayant sauvegardé la recherche (users.id) | 
| attachment_id | 
integer | 
not null | 
 | 
Identifiant de l'attachement (res_attachments.res_id ou res_version_attachments.res_id) | 
| is_version | 
boolean | 
not null | 
 | 
L'attachement est-il une version ? | 
| options | 
json | 
 | 
'{}' | 
Options d'envoi | 
| fee | 
float | 
not null | 
 | 
Frais postaux | 
| recipient_entity_id | 
integer | 
not null | 
 | 
Identifiant de l'entité traitante du courrier lié à l'attachement au moment de l'envoi | 
| account_id | 
character varying(64) | 
not null | 
 | 
Identifiant Maileva utilisé | 
| creation_date | 
timestamp without time zone | 
not null | 
 | 
Date de l'envoi | 
shipping_templates
Sauvegarde les modèles d'envois postaux
| Colonne | 
Type | 
Nullable | 
Par défaut | 
Description | 
| id | 
serial | 
not null | 
 | 
Identifiant automatique | 
| label | 
character varying(64) | 
not null | 
 | 
Nom du modèle | 
| description | 
character varying(255) | 
not null | 
 | 
Description du modèle | 
| options | 
json | 
 | 
'{}' | 
Options d'envoi. Exemple: '{"shaping":["color","both_sides","address_page"],"envelopMode":"small_simple","sendMode":"fast"}'' | 
| fee | 
json | 
 | 
'{}' | 
Frais postaux. Exemple : '{"first_page":1,"next_page":2,"postage_price":12}' | 
| entities | 
jsonb | 
 | 
'{}' | 
Identifiant des entités auxquelles est rattaché le modèle. Exemple : '{"1","2"}' | 
| account | 
json | 
 | 
'{}' | 
ID/Mot de passe utilisé pour les WS d'envoi aux façonniers. Exemple : '{"id":"bbain","password":"Ghg3tQ==::be0eeed81160a1d9e4b0e6af992e099d"}' | 
status
Sauvegarde le paramétrage des statuts de courriers
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| identifier | 
integer | 
not null | 
nextval('status_identifier_seq'::regclass) | 
Identifiant automatique | 
| id | 
character varying(10) | 
not null | 
 | 
Identifiant du statut | 
| label_status | 
character varying(50) | 
not null | 
 | 
Nom du statut | 
| is_system | 
character(1) | 
not null | 
'Y'::bpchar | 
Indique si c'est un statut critique ou pas | 
| img_filename | 
character varying(255) | 
 | 
 | 
Identifiant de l'image associée au statut (status_images.id) | 
| maarch_module | 
character varying(255) | 
not null | 
'apps'::character varying | 
deprecated | 
| can_be_searched | 
character(1) | 
not null | 
'Y'::bpchar | 
Indique si ce statut apparait dans la recherche avancée | 
| can_be_modified | 
character(1) | 
not null | 
'Y'::bpchar | 
Indique si les métadonnées des courriers ayant ce statut peuvent être modifiées | 
status_images
Sauvegarde les images pouvant être utilisées pour illustrer un statut
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
integer | 
not null | 
nextval('status_images_id_seq'::regclass) | 
Identifiant automatique | 
| image_name | 
character varying(128) | 
not null | 
 | 
Nom de l'image | 
tag_res
Fait le lien entre un mot-clé et un courrier
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| res_id | 
bigint | 
not null | 
 | 
Identifiant du courier auquel est attaché le mot-clé (res_letterbox.res_id) | 
| tag_id | 
bigint | 
not null | 
 | 
Identifiant du mot-clé (tags.tag_id) | 
Sauvegarde les mots-clés
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| tag_id | 
bigint | 
not null | 
nextval('tag_id_seq'::regclass) | 
Identifiant automatique | 
| tag_label | 
character varying(50) | 
not null | 
 | 
Libellé du mot-clé | 
| coll_id | 
character varying(50) | 
not null | 
 | 
deprecated | 
| entity_id_owner | 
character varying(32) | 
 | 
 | 
Identifiant de l'entité primaire de l'utilisateur ayant créé ce mot-clé (entities.entity_id) | 
Sauvegarde les entités qui peuvent utilisé un mot-clé
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| tag_id | 
bigint | 
not null | 
 | 
Identifiant du mot-clé (tags.tag_id) | 
| entity_id | 
character varying(32) | 
not null | 
 | 
Identifiant de l'entité qui peut voir ce mot-clé (entities.entity_id) | 
templates
Sauvegarde les modèles : attachement, note, notification, courriel
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| template_id | 
bigint | 
not null | 
nextval('templates_seq'::regclass) | 
Identifiant automatique | 
| template_label | 
character varying(255) | 
 | 
NULL::character varying | 
Nom du modèle | 
| template_comment | 
character varying(255) | 
 | 
NULL::character varying | 
Description du modèle | 
| template_content | 
text | 
 | 
 | 
Contenu du modèle en texte | 
| template_type | 
character varying(32) | 
not null | 
'HTML'::character varying | 
Type de modèle (HTML, TXT, OFFICE) | 
| template_path | 
character varying(255) | 
 | 
 | 
Chemin vers la zone de stockage où est sauvegardé le modèle office | 
| template_file_name | 
character varying(255) | 
 | 
 | 
Nom du modèle dans la zone de stockage | 
| template_style | 
character varying(255) | 
 | 
 | 
Fichier utilisé pour faire le modèle | 
| template_datasource | 
character varying(32) | 
 | 
 | 
Source de données pour fusionner les variables (datasources.xml) | 
| template_target | 
character varying(255) | 
 | 
 | 
Cible du modèle | 
| template_attachment_type | 
character varying(255) | 
 | 
NULL::character varying | 
Type d'attachment qui peut utiliser ce modèle | 
templates_association
Sauvegarde quelle entité peut utilisé le modèle d'attachement
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
integer | 
not nul | 
nextval('templates_association_id_seq'::regclass) | 
Identifiant automatique | 
| template_id | 
bigint | 
not null | 
 | 
Identifiant du modèle (templates.template_id) | 
| value_field | 
character varying(255) | 
not null | 
 | 
Identifiant de l'entité pouvant utiliser ce modèle (entities.entity_id) | 
templates_doctype_ext
Fait le lien entre un type de document et un modèle
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| template_id | 
bigint | 
 | 
 | 
Identifiant du modèle (templates.template_id) | 
| type_id | 
integer | 
not null | 
 | 
Identifiant du type de document (doctypes.type_id) | 
| is_generated | 
character(1) | 
not null | 
'N'::bpchar | 
Indique si le type de document est lié à un modèle html généré | 
thesaurus
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| thesaurus_id | 
bigint | 
not null | 
nextval('thesaurus_id_seq'::regclass) | 
Identifiant automatique | 
| thesaurus_name | 
character varying(255) | 
not null | 
 | 
Nom du terme | 
| thesaurus_description | 
text | 
 | 
 | 
Description du terme | 
| thesaurus_name_associate | 
character varying(255) | 
 | 
 | 
Termes en relation avec celui-ci (thesaurus.thesaurus_id,thesaurus.thesaurus_id, ...) | 
| thesaurus_parent_id | 
character varying(255) | 
 | 
 | 
Terme générique associé (thesaurus.thesaurus_id) | 
| creation_date | 
timestamp without time zone | 
 | 
 | 
Date d'ajout | 
| used_for | 
text | 
 | 
 | 
Description du contexte d'utilisation | 
thesaurus_res
Fait le lien entre un courrier et un niveau de thesaurus
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| res_id | 
bigint | 
not null | 
 | 
Identifiant du courier (res_letterbox.res_id) | 
| thesaurus_id | 
bigint | 
not null | 
 | 
Identifiant du thesaurus (thesaurus.thesaurus_id) | 
unit_identifier
Sauvegarde le contenu des plis numériques (M2M)
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| message_id | 
text | 
not null | 
 | 
Identifiant du pli numérique (message_exchange.message_id) | 
| tablename | 
text | 
not null | 
 | 
Table où est enregistré l'élément envoyé | 
| res_id | 
text | 
not null | 
 | 
Identifiant de l'élément envoyé | 
| disposition | 
text | 
 | 
 | 
Emplacement dans le pli numérique (body, attachment) | 
user_signatures
Sauvegarde les signatures des utilisateurs, pour le parapheur électronique
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
integer | 
not null | 
nextval('user_signatures_id_seq'::regclass) | 
Identifiant automatique | 
| user_serial_id | 
integer | 
not null | 
 | 
Identifiant de l'utilisateur (users.id) | 
| signature_label | 
character varying(255) | 
 | 
NULL::character varying | 
Nom de la signature | 
| signature_path | 
character varying(255) | 
 | 
NULL::character varying | 
Chemin où est stockée la signature | 
| signature_file_name | 
character varying(255) | 
 | 
NULL::character varying | 
Nom du fichier de la signature | 
| fingerprint | 
character varying(255) | 
 | 
NULL::character varying | 
Empreinte numérique de la signature | 
usergroup_content
Sauvegarde les utilisateurs présent dans un groupe
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| user_id | 
character varying(128) | 
not null | 
 | 
Identifiant de l'utilisateur (users.user_id) | 
| group_id | 
character varying(32) | 
not null | 
 | 
Identifiant du groupe (usergroups.group_id) | 
| primary_group | 
character(1) | 
not null | 
 | 
deprecated | 
| role | 
character varying(255) | 
 | 
NULL::character varying | 
Rôle de l'utilisateur dans le groupe | 
usergroups
Sauvegarde les groupes
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
integer | 
not null | 
nextval('usergroups_id_seq'::regclass) | 
Identifiant automatique | 
| group_id | 
character varying(32) | 
not null | 
 | 
Identifiant du groupe | 
| group_desc | 
character varying(255) | 
 | 
NULL::character varying | 
Description du groupe | 
| enabled | 
character(1) | 
not null | 
'Y'::bpchar | 
Indique si ce groupe est activé | 
usergroups_reports
Sauvegarde les statistiques que peuvent voir chaque groupe
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| group_id | 
character varying(32) | 
not null | 
 | 
Identifiant du groupe(usergroups.group_id) | 
| report_id | 
character varying(50) | 
not null | 
 | 
Identifiant de la statistique (reports.xml) | 
usergroups_services
Sauvegarde les droits fonctionnels de chaque groupe
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| group_id | 
character varying | 
not null | 
 | 
Identifiant du groupe(usergroups.group_id) | 
| service_id | 
character varying | 
not null | 
 | 
Identifiant du service (services.xml) | 
users
Sauvegarde les informations liées aux utilisateurs
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
integer | 
not null | 
nextval('users_id_seq'::regclass) | 
Identifiant automatique | 
| user_id | 
character varying(128) | 
not null | 
 | 
Identifiant de l'utilisateur | 
| password | 
character varying(255) | 
 | 
NULL::character varying | 
Mot de passe de l'utilisateur encodé | 
| firstname | 
character varying(255) | 
 | 
NULL::character varying | 
Prénom | 
| lastname | 
character varying(255) | 
 | 
NULL::character varying | 
Nom | 
| phone | 
character varying(32) | 
 | 
NULL::character varying | 
Téléphone | 
| mail | 
character varying(255) | 
 | 
NULL::character varying | 
Courriel | 
| initials | 
character varying(32) | 
 | 
NULL::character varying | 
Initial de l'utilisateur | 
| custom_t1 | 
character varying(50) | 
 | 
'0'::character varying | 
 | 
| custom_t2 | 
character varying(50) | 
 | 
NULL::character varying | 
 | 
| custom_t3 | 
character varying(50) | 
 | 
NULL::character varying | 
 | 
| status | 
character varying(10) | 
not null | 
'OK'::character varying | 
Indique si l'utilisateur est absent ou pas | 
| enabled | 
character(1) | 
not null | 
'Y'::bpchar | 
Indique si l'utilisateur est activé ou pas | 
| change_password | 
character(1) | 
not null | 
'Y'::bpchar | 
Indique si l'utilisateur doit changer son mot de passe à la prochaine connexion | 
| loginmode | 
character varying(50) | 
 | 
NULL::character varying | 
Indique le mode d'authentification | 
| cookie_key | 
character varying(255) | 
 | 
NULL::character varying | 
Cookie de l'utilisateur | 
| cookie_date | 
timestamp without time zone | 
 | 
 | 
Date d'expiration du cookie de l'utilisateur | 
| failed_authentication | 
integer | 
 | 
0 | 
Nombre d'authentification ratés | 
| locked_until | 
timestamp without time zone | 
 | 
 | 
Date de débloquage (si bloqué) | 
| thumbprint | 
text | 
 | 
NULL::character varying | 
deprecated | 
| external_id | 
json | 
 | 
'{}' | 
Identifiants du contact dans les outils externe. Exemple : '{maarchParapheur : 123}' | 
users_baskets_preferences
Gestion des préférences de l'utilisateur
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
integer | 
not null | 
nextval('users_baskets_preferences_id_seq'::regclass) | 
Identifiant automatique | 
| user_serial_id | 
integer | 
not null | 
 | 
Identifiant de l'utilisateur (users.id) | 
| group_serial_id | 
integer | 
not null | 
 | 
Identifiant du groupe (usergroups.group_id) | 
| basket_id | 
character varying(32) | 
not null | 
 | 
Identifiant de la bannette (baskets.basket_id) | 
| display | 
boolean | 
not null | 
 | 
Indique si l'utilisateur voit la bannette ou pas | 
| color | 
character varying(16) | 
 | 
 | 
Couleur de la bannette pour l'utilisateur | 
users_email_signatures
Sauvegarde les signatures de courriel pour chaque utilisateur
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| id | 
bigint | 
not null | 
nextval('email_signatures_id_seq'::regclass) | 
Identifiant automatique | 
| user_id | 
character varying(255) | 
not null | 
 | 
Identifiant de l'utilisateur (users.user_id) | 
| html_body | 
text | 
not null | 
 | 
Contenu de la signature | 
| title | 
character varying | 
not null | 
 | 
Titre de la signature | 
users_entities
Sauvegarde les utilisateurs présents dans chaque entités
| Colonne | 
Type | 
NULL-able | 
Par défaut | 
Description | 
| user_id | 
character varying(128) | 
not null | 
 | 
Identifiant de l'utilisateur (users.user_id) | 
| entity_id | 
character varying(32) | 
not null | 
 | 
Identifiant de l'entité (entities.entity_id) | 
| user_role | 
character varying(255) | 
 | 
 | 
Rôle de l'utilisateur dans l'entité | 
| primary_entity | 
character(1) | 
not null | 
'N'::bpchar | 
Indique si c'est l'entité primaire de l'utilisateur |