Show DTO fini
This commit is contained in:
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/Request/CreateShowDto.cs
Normal file
10
PF3/DTO/Request/CreateShowDto.cs
Normal 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; }
|
||||
}
|
6
PF3/DTO/Request/IdShowDto.cs
Normal file
6
PF3/DTO/Request/IdShowDto.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace PF3.DTO.Request;
|
||||
|
||||
public class IdShowDto
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
}
|
11
PF3/DTO/Request/UpdateShowDto.cs
Normal file
11
PF3/DTO/Request/UpdateShowDto.cs
Normal 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; }
|
||||
}
|
11
PF3/DTO/Response/ReadShowDto.cs
Normal file
11
PF3/DTO/Response/ReadShowDto.cs
Normal 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; }
|
||||
}
|
@@ -11,4 +11,9 @@
|
||||
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.6.2"/>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Endpoint\" />
|
||||
<Folder Include="Models\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
Reference in New Issue
Block a user