From c94822faf66290d435eb98967f919a710af130ab Mon Sep 17 00:00:00 2001 From: jboinembalome Date: Thu, 12 Nov 2020 09:38:37 +0100 Subject: [PATCH] =?UTF-8?q?MAJ=20des=20sch=C3=A9mas=20pour=20la=20partie?= =?UTF-8?q?=20collaborateur=20en=20fonction=20des=20sp=C3=A9cifications=20?= =?UTF-8?q?techniques?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- schemas/collaborateur/agence.yaml | 4 +++- schemas/collaborateur/businessunit.yaml | 7 ++++--- schemas/collaborateur/collaborateur.yaml | 8 +++++++- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/schemas/collaborateur/agence.yaml b/schemas/collaborateur/agence.yaml index 9f3d9ff..cb8ed01 100644 --- a/schemas/collaborateur/agence.yaml +++ b/schemas/collaborateur/agence.yaml @@ -1,11 +1,13 @@ type: object -description: Une agence de Apside +description: Agence à laquelle appartient le collaborateur properties: id: type: integer format: int64 + description: Id de l'agence nom: type: string + description: Nom de l'agence bu: type: array items: diff --git a/schemas/collaborateur/businessunit.yaml b/schemas/collaborateur/businessunit.yaml index d0111c4..9d77c27 100644 --- a/schemas/collaborateur/businessunit.yaml +++ b/schemas/collaborateur/businessunit.yaml @@ -1,14 +1,15 @@ type: object -description: Une business unit d'une agence +description: Business unit à laquelle appartient le collaborateur properties: id: type: integer format: int64 + description: Id de l'agence nom: type: string + description: Nom de la business unit agence: $ref: ./agence.yaml required: - id - - nom - - agence \ No newline at end of file + - nom \ No newline at end of file diff --git a/schemas/collaborateur/collaborateur.yaml b/schemas/collaborateur/collaborateur.yaml index d32e098..659f0a9 100644 --- a/schemas/collaborateur/collaborateur.yaml +++ b/schemas/collaborateur/collaborateur.yaml @@ -1,22 +1,28 @@ type: object -description: Les informations d'un collaborateur +description: Objet contenant les données du collaborateur properties: id: type: string format: uuid + description: Id du collaborateur nom: type: string + description: Nom du collaborateur prenom: type: string + description: Prénom du collaborateur mailApside: type: string format: email + description: Mail Apside du collaborateur dateArrivee: type: string format: date-time + description: Date à laquelle le collaborateur a été embauché dateDepart: type: string format: date-time + description: Date à laquelle le collaborateur a quitté l'entreprise businessUnit: $ref: ./businessUnit.yaml referent: