Show DTO fini

This commit is contained in:
2025-10-02 16:35:43 +02:00
parent 4a0d74b34d
commit b12e5c0a0f
6 changed files with 44 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.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.Request;
public class IdShowDto
{
public int? Id { get; set; }
}

View File

@@ -0,0 +1,11 @@
namespace PF3.DTO.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.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

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