Correction d'un problème de fichiers entre les DTO formation et participationFormation

develop
Yanaël GRETTE 4 years ago
parent 4441911026
commit 559af3456f
  1. 4
      src/app/shared/api-swagger/model/formationDTO.ts
  2. 43
      src/app/shared/api-swagger/model/formationDTOParticipations.ts
  3. 1
      src/app/shared/api-swagger/model/models.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 é effectuée ou non
*/
estRealisee: boolean;
participations?: Array<FormationDTOParticipations>;
participations?: Array<ParticipationFormationDTO>;
}

@ -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 é 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;
}

@ -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';

Loading…
Cancel
Save