Finit les DTO
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
namespace PF3.DTO.Sound.Request;
|
||||
namespace PF3.DTO.SoundCategory.Request;
|
||||
|
||||
public class CreateSoundDto
|
||||
{
|
||||
|
@@ -1,6 +0,0 @@
|
||||
namespace PF3.DTO.Sound.Request;
|
||||
|
||||
public class IdSoundDto
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
}
|
6
PF3/DTO/Sound/Request/IdSoundto.cs
Normal file
6
PF3/DTO/Sound/Request/IdSoundto.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace PF3.DTO.SoundCategory.Request;
|
||||
|
||||
public class IdSoundto
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
}
|
@@ -1,4 +1,4 @@
|
||||
namespace PF3.DTO.Sound.Request;
|
||||
namespace PF3.DTO.SoundCategory.Request;
|
||||
|
||||
public class UpdateSoundDto
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace PF3.DTO.Sound.Response;
|
||||
namespace PF3.DTO.SoundCategory.Response;
|
||||
|
||||
public class ReadSoundDto
|
||||
{
|
||||
|
13
PF3/DTO/SoundCategory/Request/CreateSoundCategoryDto.cs
Normal file
13
PF3/DTO/SoundCategory/Request/CreateSoundCategoryDto.cs
Normal 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; }
|
||||
}
|
6
PF3/DTO/SoundCategory/Request/IdSoundCategoryDto.cs
Normal file
6
PF3/DTO/SoundCategory/Request/IdSoundCategoryDto.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace PF3.DTO.SoundCategory.Request;
|
||||
|
||||
public class IdSoundCategoryDto
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
}
|
14
PF3/DTO/SoundCategory/Request/UpdateSoundCategoryDto.cs
Normal file
14
PF3/DTO/SoundCategory/Request/UpdateSoundCategoryDto.cs
Normal 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; }
|
||||
}
|
14
PF3/DTO/SoundCategory/Response/ReadSoundCategoryDto.cs
Normal file
14
PF3/DTO/SoundCategory/Response/ReadSoundCategoryDto.cs
Normal 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; }
|
||||
}
|
9
PF3/DTO/SoundTimecode/Request/CreateSoundTimecodeDto.cs
Normal file
9
PF3/DTO/SoundTimecode/Request/CreateSoundTimecodeDto.cs
Normal 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; }
|
||||
}
|
6
PF3/DTO/SoundTimecode/Request/IdSoundTimecodeDto.cs
Normal file
6
PF3/DTO/SoundTimecode/Request/IdSoundTimecodeDto.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace PF3.DTO.SoundTimecode.Request;
|
||||
|
||||
public class IdSoundTimecodeDto
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
}
|
10
PF3/DTO/SoundTimecode/Request/UpdateSoundTimecodeDto.cs
Normal file
10
PF3/DTO/SoundTimecode/Request/UpdateSoundTimecodeDto.cs
Normal 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; }
|
||||
}
|
10
PF3/DTO/SoundTimecode/Response/ReadSoundTimecodeDto.cs
Normal file
10
PF3/DTO/SoundTimecode/Response/ReadSoundTimecodeDto.cs
Normal 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; }
|
||||
}
|
@@ -13,6 +13,8 @@
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="DTO\Show\" />
|
||||
<Folder Include="DTO\SoundCategory\" />
|
||||
<Folder Include="DTO\SoundTimecode\" />
|
||||
<Folder Include="Endpoint\" />
|
||||
<Folder Include="Models\" />
|
||||
</ItemGroup>
|
||||
|
Reference in New Issue
Block a user