From 165addd785553761de758f16e2d3cc058655af80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9?= Date: Thu, 2 Oct 2025 17:23:48 +0200 Subject: [PATCH] fix DTO --- PF3/DTO/Show/Request/CreateShowDto.cs | 2 +- PF3/DTO/Show/Request/UpdateShowDto.cs | 2 +- PF3/DTO/Show/Response/ReadShowDto.cs | 2 +- PF3/DTO/Sound/Request/CreateSoundDto.cs | 2 +- PF3/DTO/Sound/Request/UpdateSoundDto.cs | 2 +- PF3/DTO/Sound/Response/ReadSoundDto.cs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/PF3/DTO/Show/Request/CreateShowDto.cs b/PF3/DTO/Show/Request/CreateShowDto.cs index cda5a6d..5230f53 100644 --- a/PF3/DTO/Show/Request/CreateShowDto.cs +++ b/PF3/DTO/Show/Request/CreateShowDto.cs @@ -6,5 +6,5 @@ public class CreateShowDto public string? Place { get; set; } public string? Description { get; set; } public string? PyrotechnicImplementationPlan { get; set; } - public DateOnly? Date { get; set; } + public DateTime? Date { get; set; } } \ No newline at end of file diff --git a/PF3/DTO/Show/Request/UpdateShowDto.cs b/PF3/DTO/Show/Request/UpdateShowDto.cs index 4fef81f..ac3c132 100644 --- a/PF3/DTO/Show/Request/UpdateShowDto.cs +++ b/PF3/DTO/Show/Request/UpdateShowDto.cs @@ -7,5 +7,5 @@ public class UpdateShowDto public string? Place { get; set; } public string? Description { get; set; } public string? PyrotechnicImplementationPlan { get; set; } - public DateOnly? Date { get; set; } + public DateTime? Date { get; set; } } \ No newline at end of file diff --git a/PF3/DTO/Show/Response/ReadShowDto.cs b/PF3/DTO/Show/Response/ReadShowDto.cs index e5a656a..4e91893 100644 --- a/PF3/DTO/Show/Response/ReadShowDto.cs +++ b/PF3/DTO/Show/Response/ReadShowDto.cs @@ -7,5 +7,5 @@ public class ReadShowDto public string? Place { get; set; } public string? Description { get; set; } public string? PyrotechnicImplementationPlan { get; set; } - public DateOnly? Date { get; set; } + public DateTime? Date { get; set; } } \ No newline at end of file diff --git a/PF3/DTO/Sound/Request/CreateSoundDto.cs b/PF3/DTO/Sound/Request/CreateSoundDto.cs index 591f6d2..e1775ae 100644 --- a/PF3/DTO/Sound/Request/CreateSoundDto.cs +++ b/PF3/DTO/Sound/Request/CreateSoundDto.cs @@ -8,7 +8,7 @@ public class CreateSoundDto public string? Duration { get; set; } public string? Kind { get; set; } public string? Format { get; set; } - public string? CreationDate { get; set; } + public DateTime? CreationDate { get; set; } public string? SoundCategoryId { get; set; } } \ No newline at end of file diff --git a/PF3/DTO/Sound/Request/UpdateSoundDto.cs b/PF3/DTO/Sound/Request/UpdateSoundDto.cs index 8bc3bdf..2382b13 100644 --- a/PF3/DTO/Sound/Request/UpdateSoundDto.cs +++ b/PF3/DTO/Sound/Request/UpdateSoundDto.cs @@ -9,7 +9,7 @@ public class UpdateSoundDto public string? Duration { get; set; } public string? Kind { get; set; } public string? Format { get; set; } - public string? CreationDate { get; set; } + public DateTime? CreationDate { get; set; } public string? SoundCategoryId { get; set; } } \ No newline at end of file diff --git a/PF3/DTO/Sound/Response/ReadSoundDto.cs b/PF3/DTO/Sound/Response/ReadSoundDto.cs index 2c2bca5..0ee013d 100644 --- a/PF3/DTO/Sound/Response/ReadSoundDto.cs +++ b/PF3/DTO/Sound/Response/ReadSoundDto.cs @@ -9,7 +9,7 @@ public class ReadSoundDto public string? Duration { get; set; } public string? Kind { get; set; } public string? Format { get; set; } - public string? CreationDate { get; set; } + public DateTime? CreationDate { get; set; } public string? SoundCategoryId { get; set; } } \ No newline at end of file