models + fix DTO
This commit is contained in:
@@ -3,4 +3,12 @@
|
||||
public class CreateSoundDto
|
||||
{
|
||||
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; }
|
||||
|
||||
}
|
@@ -4,4 +4,12 @@ public class UpdateSoundDto
|
||||
{
|
||||
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; }
|
||||
|
||||
}
|
@@ -4,4 +4,12 @@ public class ReadSoundDto
|
||||
{
|
||||
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; }
|
||||
|
||||
}
|
@@ -3,11 +3,4 @@
|
||||
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; }
|
||||
}
|
@@ -4,11 +4,4 @@ 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; }
|
||||
}
|
@@ -4,11 +4,4 @@ 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; }
|
||||
}
|
@@ -3,7 +3,7 @@
|
||||
public class CreateTruckDto
|
||||
{
|
||||
public string? Type { get; set; }
|
||||
public string? MaxExplosiveCapacity { get; set; }
|
||||
public double? MaxExplosiveCapacity { get; set; }
|
||||
public string? Sizes { get; set; }
|
||||
public bool? Statut { get; set; }
|
||||
public int? ShowId { get; set; }
|
||||
|
Reference in New Issue
Block a user