add: implementacao inicial
This commit is contained in:
13
Dtos/CreateWorkshopRequest.cs
Normal file
13
Dtos/CreateWorkshopRequest.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
namespace CampusWorkshops.Api.Dtos;
|
||||
|
||||
// DTO para criação de Workshop.
|
||||
public record CreateWorkshopRequest(
|
||||
string? Title,
|
||||
string? Description,
|
||||
DateTimeOffset StartAt,
|
||||
DateTimeOffset EndAt,
|
||||
string? Location,
|
||||
int Capacity,
|
||||
bool IsOnline
|
||||
);
|
Reference in New Issue
Block a user