finalisation des endpoints

This commit is contained in:
2025-11-13 15:11:12 +01:00
parent 55f92ad761
commit 5c12a45ae6
41 changed files with 79 additions and 258 deletions

View File

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

View File

@@ -1,4 +1,4 @@
namespace PF3.DTO.Truck.Request;
namespace PyroFetes.DTO.Truck.Request;
public class IdTruckDto
{

View File

@@ -1,4 +1,4 @@
namespace PF3.DTO.Truck.Request;
namespace PyroFetes.DTO.Truck.Request;
public class UpdateTruckDto
{

View File

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