Compare commits
3 Commits
master
...
801dc9dec8
Author | SHA1 | Date | |
---|---|---|---|
801dc9dec8 | |||
a179a3fab0 | |||
b12e5c0a0f |
1
.idea/.idea.PF3/.idea/.name
generated
Normal file
1
.idea/.idea.PF3/.idea/.name
generated
Normal file
@@ -0,0 +1 @@
|
|||||||
|
PF3
|
10
PF3/DTO/Show/Request/CreateShowDto.cs
Normal file
10
PF3/DTO/Show/Request/CreateShowDto.cs
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
namespace PF3.DTO.Show.Request;
|
||||||
|
|
||||||
|
public class CreateShowDto
|
||||||
|
{
|
||||||
|
public string? Name { get; set; }
|
||||||
|
public string? Place { get; set; }
|
||||||
|
public string? Description { get; set; }
|
||||||
|
public string? PyrotechnicImplementationPlan { get; set; }
|
||||||
|
public DateOnly? Date { get; set; }
|
||||||
|
}
|
6
PF3/DTO/Show/Request/IdShowDto.cs
Normal file
6
PF3/DTO/Show/Request/IdShowDto.cs
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
namespace PF3.DTO.Show.Request;
|
||||||
|
|
||||||
|
public class IdShowDto
|
||||||
|
{
|
||||||
|
public int? Id { get; set; }
|
||||||
|
}
|
11
PF3/DTO/Show/Request/UpdateShowDto.cs
Normal file
11
PF3/DTO/Show/Request/UpdateShowDto.cs
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
namespace PF3.DTO.Show.Request;
|
||||||
|
|
||||||
|
public class UpdateShowDto
|
||||||
|
{
|
||||||
|
public int? Id { get; set; }
|
||||||
|
public string? Name { get; set; }
|
||||||
|
public string? Place { get; set; }
|
||||||
|
public string? Description { get; set; }
|
||||||
|
public string? PyrotechnicImplementationPlan { get; set; }
|
||||||
|
public DateOnly? Date { get; set; }
|
||||||
|
}
|
11
PF3/DTO/Show/Response/ReadShowDto.cs
Normal file
11
PF3/DTO/Show/Response/ReadShowDto.cs
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
namespace PF3.DTO.Show.Response;
|
||||||
|
|
||||||
|
public class ReadShowDto
|
||||||
|
{
|
||||||
|
public int? Id { get; set; }
|
||||||
|
public string? Name { get; set; }
|
||||||
|
public string? Place { get; set; }
|
||||||
|
public string? Description { get; set; }
|
||||||
|
public string? PyrotechnicImplementationPlan { get; set; }
|
||||||
|
public DateOnly? Date { get; set; }
|
||||||
|
}
|
9
PF3/DTO/Staff/Request/CreateStaffDto.cs
Normal file
9
PF3/DTO/Staff/Request/CreateStaffDto.cs
Normal 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; }
|
||||||
|
}
|
6
PF3/DTO/Staff/Request/IdStaffDto.cs
Normal file
6
PF3/DTO/Staff/Request/IdStaffDto.cs
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
namespace PF3.DTO.Staff.Request;
|
||||||
|
|
||||||
|
public class IdStaffDto
|
||||||
|
{
|
||||||
|
public int? Id { get; set; }
|
||||||
|
}
|
10
PF3/DTO/Staff/Request/UpdateStaffDto.cs
Normal file
10
PF3/DTO/Staff/Request/UpdateStaffDto.cs
Normal 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; }
|
||||||
|
}
|
10
PF3/DTO/Staff/Response/ReadStaffDto.cs
Normal file
10
PF3/DTO/Staff/Response/ReadStaffDto.cs
Normal 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; }
|
||||||
|
}
|
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; }
|
||||||
|
}
|
@@ -11,4 +11,10 @@
|
|||||||
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.6.2"/>
|
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.6.2"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="DTO\Show\" />
|
||||||
|
<Folder Include="Endpoint\" />
|
||||||
|
<Folder Include="Models\" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
Reference in New Issue
Block a user