columns:
  adresse1:
    type: text
  adresse2:
    type: text
  code:
    type: text
  code_cotisation_id:
    type: bigint
    default: "0"
  code_original:
    type: text
    not_null: NOT NULL
  code_postal_id:
    type: bigint
  date_anciennete:
    type: date
  date_debut:
    type: date
    comment: Date de début du dernier contrat
  date_entree_ets:
    type: date
    comment: "Date d''entrée dans l''établissement."
  date_entree_fp:
    type: date
    comment: "Date d''entrée dans la fonction publique."
  date_entree_fph:
    type: date
    comment: "Date d''entrée dans la fonction publique hospitaliere."
  date_fin:
    type: date
    comment: Date de fin du dernier contrat
  date_naissance:
    type: date
  date_sortie_ets:
    type: date
    comment: "Date de sortie de l''établissement."
  entreprise_id:
    type: bigint
  finess:
    type: character(9)
    default: "''::bpchar"
  matricule:
    type: text
  matricule_planning:
    type: text
  matricule_retraite:
    type: text
  nationalite_id:
    type: bigint
  nir:
    type: text
  no_adeli:
    type: text
    comment: Numéro ADELI lorsque médecin.
  nom:
    type: character varying(255)
    default: "''::character varying"
  nom_naissance:
    type: character varying(255)
    default: "''::character varying"
  oid:
    type: bigint
    not_null: NOT NULL
    default: "nextval('s_salaries'::regclass)"
  personne_id:
    type: bigint
    not_null: NOT NULL
    default: "0"
  prenom:
    type: character varying(255)
    default: "''::character varying"
  profil_id:
    type: bigint
  salarie_fusionne_id:
    type: bigint
    default: "0"
  section_code:
    type: 'text[]'
  section_id:
    type: 'bigint[]'
  section_texte:
    type: 'text[]'
  sexe:
    type: character(1)
  situation_famille_id:
    type: bigint
constraints:
  p_salaries_pkey:
    type: PRIMARY KEY
    column: oid
  p_salaries_ukey:
    type: UNIQUE
    column: code_original
indexes:
  i_salaries_1:
    column: nationalite_id
    method: btree
  i_salaries_2:
    column: entreprise_id
    method: btree
  i_salaries_3:
    column: code_postal_id
    method: btree