|
|
|
@ -2,33 +2,32 @@ |
|
|
|
|
using System.Diagnostics.CodeAnalysis; |
|
|
|
|
using espacecollab.backend.infrastructure.sql.dtos.Interfaces; |
|
|
|
|
|
|
|
|
|
namespace espacecollab.backend.infrastructure.sql.dtos |
|
|
|
|
namespace espacecollab.backend.infrastructure.sql.dtos; |
|
|
|
|
|
|
|
|
|
public class PeriodeEssaiSqlDto : IGenericIdSqlDto |
|
|
|
|
{ |
|
|
|
|
public class PeriodeEssaiSqlDto : IGenericIdSqlDto |
|
|
|
|
{ |
|
|
|
|
public int Id { get; set; } |
|
|
|
|
public DateTime StartingDate { get; set; } |
|
|
|
|
public DateTime PlannedEndingDate { get; set; } |
|
|
|
|
public DateTime RealEndingDate { get; set; } |
|
|
|
|
public string Comment { get; set; } |
|
|
|
|
public EnumIssueSql Issue { get; set; } |
|
|
|
|
public int CollaborateurId { get; set; } |
|
|
|
|
public int Id { get; set; } |
|
|
|
|
public DateTime StartingDate { get; set; } |
|
|
|
|
public DateTime PlannedEndingDate { get; set; } |
|
|
|
|
public DateTime RealEndingDate { get; set; } |
|
|
|
|
public string Comment { get; set; } |
|
|
|
|
public EnumIssueSql Issue { get; set; } |
|
|
|
|
public int CollaborateurId { get; set; } |
|
|
|
|
|
|
|
|
|
[ExcludeFromCodeCoverage] |
|
|
|
|
private PeriodeEssaiSqlDto() |
|
|
|
|
{ |
|
|
|
|
Comment = string.Empty; |
|
|
|
|
} |
|
|
|
|
[ExcludeFromCodeCoverage] |
|
|
|
|
private PeriodeEssaiSqlDto() |
|
|
|
|
{ |
|
|
|
|
Comment = string.Empty; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public PeriodeEssaiSqlDto(int id, DateTime startingDate, DateTime plannedEndingDate, DateTime realEndingDate, string comment, EnumIssueSql issue, int collaborateurId) |
|
|
|
|
{ |
|
|
|
|
Id = id; |
|
|
|
|
StartingDate = startingDate; |
|
|
|
|
PlannedEndingDate = plannedEndingDate; |
|
|
|
|
RealEndingDate = realEndingDate; |
|
|
|
|
Comment = comment; |
|
|
|
|
Issue = issue; |
|
|
|
|
CollaborateurId = collaborateurId; |
|
|
|
|
} |
|
|
|
|
public PeriodeEssaiSqlDto(int id, DateTime startingDate, DateTime plannedEndingDate, DateTime realEndingDate, string comment, EnumIssueSql issue, int collaborateurId) |
|
|
|
|
{ |
|
|
|
|
Id = id; |
|
|
|
|
StartingDate = startingDate; |
|
|
|
|
PlannedEndingDate = plannedEndingDate; |
|
|
|
|
RealEndingDate = realEndingDate; |
|
|
|
|
Comment = comment; |
|
|
|
|
Issue = issue; |
|
|
|
|
CollaborateurId = collaborateurId; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |