Compare commits

3 Commits

14 changed files with 118 additions and 0 deletions

1
.idea/.idea.PF3/.idea/.name generated Normal file
View File

@@ -0,0 +1 @@
PF3

View 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; }
}

View File

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

View 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; }
}

View 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; }
}

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; }
}

View File

@@ -11,4 +11,10 @@
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.6.2"/>
</ItemGroup>
<ItemGroup>
<Folder Include="DTO\Show\" />
<Folder Include="Endpoint\" />
<Folder Include="Models\" />
</ItemGroup>
</Project>