From 559af3456f063b90dd3bc09744137c94576030f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yana=C3=ABl=20GRETTE?= Date: Wed, 9 Dec 2020 12:29:15 +0100 Subject: [PATCH] =?UTF-8?q?Correction=20d'un=20probl=C3=A8me=20de=20fichie?= =?UTF-8?q?rs=20entre=20les=20DTO=20formation=20et=20participationFormatio?= =?UTF-8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shared/api-swagger/model/formationDTO.ts | 4 +- .../model/formationDTOParticipations.ts | 43 ------------------- src/app/shared/api-swagger/model/models.ts | 1 - 3 files changed, 2 insertions(+), 46 deletions(-) delete mode 100644 src/app/shared/api-swagger/model/formationDTOParticipations.ts diff --git a/src/app/shared/api-swagger/model/formationDTO.ts b/src/app/shared/api-swagger/model/formationDTO.ts index 5bbc880..ab06ab9 100644 --- a/src/app/shared/api-swagger/model/formationDTO.ts +++ b/src/app/shared/api-swagger/model/formationDTO.ts @@ -9,7 +9,7 @@ * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ -import { FormationDTOParticipations } from './formationDTOParticipations'; +import { ParticipationFormationDTO } from './participationFormationDTO'; import { ModeFormationDTO } from './modeFormationDTO'; import { OrigineFormationDTO } from './origineFormationDTO'; import { StatutFormationDTO } from './statutFormationDTO'; @@ -63,5 +63,5 @@ export interface FormationDTO { * Indique que la formation a bien été effectuée ou non */ estRealisee: boolean; - participations?: Array; + participations?: Array; } \ No newline at end of file diff --git a/src/app/shared/api-swagger/model/formationDTOParticipations.ts b/src/app/shared/api-swagger/model/formationDTOParticipations.ts deleted file mode 100644 index e4b89ea..0000000 --- a/src/app/shared/api-swagger/model/formationDTOParticipations.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * API du serveur de l'application de digitalisation des EP - * API qui sra utilisée afin de faire communiquer le client et le serveur ainsi que le serveur et la boîte noire. - * - * OpenAPI spec version: 1.3.6 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ -import { CollaborateurDTO } from './collaborateurDTO'; -import { EpInformationDTO } from './epInformationDTO'; -import { StatutFormationDTO } from './statutFormationDTO'; - -/** - * DTO concernant la participation à une formation. - */ -export interface FormationDTOParticipations { - /** - * Id de la participation formation - */ - id?: number; - /** - * Date à laquelle la participation a été créée - */ - dateCreation: Date; - /** - * Intitulé de la formation - */ - intitule: string; - /** - * Date de début de la formation - */ - dateDebut: Date; - statut: StatutFormationDTO; - collaborateur: CollaborateurDTO; - /** - * Indique si le collaborateur a effectué l'évaluation de la formation - */ - estEvaluee: boolean; - ep?: EpInformationDTO; -} \ No newline at end of file diff --git a/src/app/shared/api-swagger/model/models.ts b/src/app/shared/api-swagger/model/models.ts index 94c16b6..96f79b9 100644 --- a/src/app/shared/api-swagger/model/models.ts +++ b/src/app/shared/api-swagger/model/models.ts @@ -19,7 +19,6 @@ export * from './etatDemande'; export * from './etatEngagement'; export * from './evaluationDTO'; export * from './formationDTO'; -export * from './formationDTOParticipations'; export * from './formationDetailsDTO'; export * from './modeFormationDTO'; export * from './objectifDTO';