MAJ des DTO EvaluationDTO et SaisieDTO

develop
jboinembalome 4 years ago
parent 3bc3bb5d56
commit 09b0483523
  1. 3
      EPAServeur/DTO/EvaluationDTO.cs
  2. 5
      EPAServeur/DTO/SaisieDTO.cs

@ -17,6 +17,7 @@ using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization; using System.Runtime.Serialization;
using Newtonsoft.Json; using Newtonsoft.Json;
using EPAServeur.Attributes;
namespace IO.Swagger.DTO namespace IO.Swagger.DTO
{ {
@ -61,7 +62,7 @@ namespace IO.Swagger.DTO
/// <summary> /// <summary>
/// Gets or Sets Saisies /// Gets or Sets Saisies
/// </summary> /// </summary>
[Required] [CannotBeEmpty]
[DataMember(Name="saisies")] [DataMember(Name="saisies")]
public List<SaisieDTO> Saisies { get; set; } public List<SaisieDTO> Saisies { get; set; }

@ -33,12 +33,13 @@ namespace IO.Swagger.DTO
/// <value>Id de la saisie</value> /// <value>Id de la saisie</value>
[Required] [Required]
[DataMember(Name="id")] [DataMember(Name="id")]
public string Id { get; set; } public long? Id { get; set; }
/// <summary> /// <summary>
/// Note saisie /// Note saisie
/// </summary> /// </summary>
/// <value>Note saisie</value> /// <value>Note saisie</value>
[Required]
[DataMember(Name="note")] [DataMember(Name="note")]
public int? Note { get; set; } public int? Note { get; set; }
@ -61,7 +62,7 @@ namespace IO.Swagger.DTO
/// </summary> /// </summary>
[Required] [Required]
[DataMember(Name="typeSaisie")] [DataMember(Name="typeSaisie")]
public TypeEp TypeSaisie { get; set; } public TypeSaisie TypeSaisie { get; set; }
/// <summary> /// <summary>
/// Returns the string presentation of the object /// Returns the string presentation of the object

Loading…
Cancel
Save