Truck & Staff DTO
This commit is contained in:
10
PF3/DTO/Truck/Request/CreateTruckDto.cs
Normal file
10
PF3/DTO/Truck/Request/CreateTruckDto.cs
Normal 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; }
|
||||
}
|
6
PF3/DTO/Truck/Request/IdTruckDto.cs
Normal file
6
PF3/DTO/Truck/Request/IdTruckDto.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace PF3.DTO.Truck.Request;
|
||||
|
||||
public class IdTruckDto
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
}
|
11
PF3/DTO/Truck/Request/UpdateTruckDto.cs
Normal file
11
PF3/DTO/Truck/Request/UpdateTruckDto.cs
Normal 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; }
|
||||
}
|
11
PF3/DTO/Truck/Response/ReadTruckDto.cs
Normal file
11
PF3/DTO/Truck/Response/ReadTruckDto.cs
Normal 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; }
|
||||
}
|
Reference in New Issue
Block a user