Ajout de l'id de l'agence dans formationDTO

master
Yanaël GRETTE 4 years ago
parent d5ac3fd938
commit a099587a74
  1. 16
      DTO/FormationDTO.cs

@ -3,7 +3,7 @@
*
* 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.1
* OpenAPI spec version: 1.3.2
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
@ -53,6 +53,12 @@ namespace IO.Swagger.DTO
[DataMember(Name = "statut")]
public StatutFormationDTO Statut { get; set; }
/// <summary>
/// Gets or Sets IdAgence
/// </summary>
[DataMember(Name = "idAgence")]
public int? IdAgence { get; set; }
/// <summary>
/// Gets or Sets DateDebut
/// </summary>
@ -127,6 +133,7 @@ namespace IO.Swagger.DTO
sb.Append(" Intitule: ").Append(Intitule).Append("\n");
sb.Append(" Origine: ").Append(Origine).Append("\n");
sb.Append(" Statut: ").Append(Statut).Append("\n");
sb.Append(" IdAgence: ").Append(IdAgence).Append("\n");
sb.Append(" DateDebut: ").Append(DateDebut).Append("\n");
sb.Append(" DateFin: ").Append(DateFin).Append("\n");
sb.Append(" Heure: ").Append(Heure).Append("\n");
@ -192,6 +199,11 @@ namespace IO.Swagger.DTO
Statut != null &&
Statut.Equals(other.Statut)
) &&
(
IdAgence == other.IdAgence ||
IdAgence != null &&
IdAgence.Equals(other.IdAgence)
) &&
(
DateDebut == other.DateDebut ||
DateDebut != null &&
@ -257,6 +269,8 @@ namespace IO.Swagger.DTO
hashCode = hashCode * 59 + Origine.GetHashCode();
if (Statut != null)
hashCode = hashCode * 59 + Statut.GetHashCode();
if (IdAgence != null)
hashCode = hashCode * 59 + IdAgence.GetHashCode();
if (DateDebut != null)
hashCode = hashCode * 59 + DateDebut.GetHashCode();
if (DateFin != null)

Loading…
Cancel
Save