Finit les DTO

This commit is contained in:
2025-10-02 17:12:04 +02:00
parent 949aedac78
commit 29b9520193
14 changed files with 93 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
namespace PF3.DTO.Sound.Request;
namespace PF3.DTO.SoundCategory.Request;
public class CreateSoundDto
{

View File

@@ -1,6 +0,0 @@
namespace PF3.DTO.Sound.Request;
public class IdSoundDto
{
public int? Id { get; set; }
}

View File

@@ -0,0 +1,6 @@
namespace PF3.DTO.SoundCategory.Request;
public class IdSoundto
{
public int? Id { get; set; }
}

View File

@@ -1,4 +1,4 @@
namespace PF3.DTO.Sound.Request;
namespace PF3.DTO.SoundCategory.Request;
public class UpdateSoundDto
{

View File

@@ -1,4 +1,4 @@
namespace PF3.DTO.Sound.Response;
namespace PF3.DTO.SoundCategory.Response;
public class ReadSoundDto
{

View File

@@ -0,0 +1,13 @@
namespace PF3.DTO.SoundCategory.Request;
public class CreateSoundCategoryDto
{
public string? Name { get; set; }
public string? Type { get; set; }
public string? Artist { get; set; }
public string? Duration { get; set; }
public string? Kind { get; set; }
public string? Format { get; set; }
public string? CreationDate { get; set; }
public string? SoundCategoryId { get; set; }
}

View File

@@ -0,0 +1,6 @@
namespace PF3.DTO.SoundCategory.Request;
public class IdSoundCategoryDto
{
public int? Id { get; set; }
}

View File

@@ -0,0 +1,14 @@
namespace PF3.DTO.SoundCategory.Request;
public class UpdateSoundCategoryDto
{
public int? Id { get; set; }
public string? Name { get; set; }
public string? Type { get; set; }
public string? Artist { get; set; }
public string? Duration { get; set; }
public string? Kind { get; set; }
public string? Format { get; set; }
public string? CreationDate { get; set; }
public string? SoundCategoryId { get; set; }
}

View File

@@ -0,0 +1,14 @@
namespace PF3.DTO.SoundCategory.Response;
public class ReadSoundCategoryDto
{
public int? Id { get; set; }
public string? Name { get; set; }
public string? Type { get; set; }
public string? Artist { get; set; }
public string? Duration { get; set; }
public string? Kind { get; set; }
public string? Format { get; set; }
public string? CreationDate { get; set; }
public string? SoundCategoryId { get; set; }
}

View File

@@ -0,0 +1,9 @@
namespace PF3.DTO.SoundTimecode.Request;
public class CreateSoundTimecodeDto
{
public int? ShowId { get; set; }
public int? SoundId { get; set; }
public string? Start { get; set; }
public string? End { get; set; }
}

View File

@@ -0,0 +1,6 @@
namespace PF3.DTO.SoundTimecode.Request;
public class IdSoundTimecodeDto
{
public int? Id { get; set; }
}

View File

@@ -0,0 +1,10 @@
namespace PF3.DTO.SoundTimecode.Request;
public class UpdateSoundTimecodeDto
{
public int? Id { get; set; }
public int? ShowId { get; set; }
public int? SoundId { get; set; }
public string? Start { get; set; }
public string? End { get; set; }
}

View File

@@ -0,0 +1,10 @@
namespace PF3.DTO.SoundTimecode.Response;
public class ReadSoundTimecodeDto
{
public int? Id { get; set; }
public int? ShowId { get; set; }
public int? SoundId { get; set; }
public string? Start { get; set; }
public string? End { get; set; }
}

View File

@@ -13,6 +13,8 @@
<ItemGroup>
<Folder Include="DTO\Show\" />
<Folder Include="DTO\SoundCategory\" />
<Folder Include="DTO\SoundTimecode\" />
<Folder Include="Endpoint\" />
<Folder Include="Models\" />
</ItemGroup>