expose effectif_annuel dans api graphql

This commit is contained in:
Christophe Robillard 2020-04-22 19:00:25 +02:00
parent 453adf3c74
commit 792e755af9
6 changed files with 36 additions and 21 deletions

View file

@ -15,6 +15,8 @@ class Entreprise < Hashie::Dash
property :effectif_mois
property :effectif_annee
property :effectif_mensuel
property :effectif_annuel
property :effectif_annuel_annee
property :date_creation
property :nom
property :prenom

View file

@ -105,6 +105,8 @@ class Etablissement < ApplicationRecord
effectif_mensuel: entreprise_effectif_mensuel,
effectif_mois: entreprise_effectif_mois,
effectif_annee: entreprise_effectif_annee,
effectif_annuel: entreprise_effectif_annuel,
effectif_annuel_annee: entreprise_effectif_annuel_annee,
date_creation: entreprise_date_creation,
nom: entreprise_nom,
prenom: entreprise_prenom,