Finit les DTO
This commit is contained in:
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; }
|
||||
}
|
Reference in New Issue
Block a user