Truck & Staff DTO

This commit is contained in:
2025-10-02 16:53:02 +02:00
parent a179a3fab0
commit 801dc9dec8
12 changed files with 77 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
namespace PF3.DTO.Request;
namespace PF3.DTO.Show.Request;
public class CreateShowDto
{

View File

@@ -1,4 +1,4 @@
namespace PF3.DTO.Request;
namespace PF3.DTO.Show.Request;
public class IdShowDto
{

View File

@@ -1,4 +1,4 @@
namespace PF3.DTO.Request;
namespace PF3.DTO.Show.Request;
public class UpdateShowDto
{

View File

@@ -1,4 +1,4 @@
namespace PF3.DTO.Response;
namespace PF3.DTO.Show.Response;
public class ReadShowDto
{

View File

@@ -0,0 +1,9 @@
namespace PF3.DTO.Staff.Request;
public class CreateStaffDto
{
public string? FirstName { get; set; }
public string? LastName { get; set; }
public string? Profession { get; set; }
public string? Email { get; set; }
}

View File

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

View File

@@ -0,0 +1,10 @@
namespace PF3.DTO.Staff.Request;
public class UpdateStaffDto
{
public int? Id { get; set; }
public string? FirstName { get; set; }
public string? LastName { get; set; }
public string? Profession { get; set; }
public string? Email { get; set; }
}

View File

@@ -0,0 +1,10 @@
namespace PF3.DTO.Staff.Response;
public class ReadStaffDto
{
public int? Id { get; set; }
public string? FirstName { get; set; }
public string? LastName { get; set; }
public string? Profession { get; set; }
public string? Email { get; set; }
}

View File

@@ -0,0 +1,10 @@
namespace PF3.DTO.Truck.Request;
public class CreateTruckDto
{
public string? Type { get; set; }
public string? MaxExplosiveCapacity { get; set; }
public string? Sizes { get; set; }
public bool? Statut { get; set; }
public int? ShowId { get; set; }
}

View File

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

View File

@@ -0,0 +1,11 @@
namespace PF3.DTO.Truck.Request;
public class UpdateTruckDto
{
public int? Id { get; set; }
public string? Type { get; set; }
public string? MaxExplosiveCapacity { get; set; }
public string? Sizes { get; set; }
public bool? Statut { get; set; }
public int? ShowId { get; set; }
}

View File

@@ -0,0 +1,11 @@
namespace PF3.DTO.Truck.Response;
public class ReadTruckDto
{
public int? Id { get; set; }
public string? Type { get; set; }
public string? MaxExplosiveCapacity { get; set; }
public string? Sizes { get; set; }
public bool? Statut { get; set; }
public int? ShowId { get; set; }
}