Merge branch 'worktree-agent-a0e6f31173772c798'
# Conflicts: # GerbilManagerWebAPI/ApplicationContext.cs # GerbilManagerWebAPI/Program.cs # gerbil-manager-web/e2e/mock-data.ts # gerbil-manager-web/src/strings/de.ts
This commit is contained in:
24
GerbilManagerWebAPI/Dtos/WaitingListDtos.cs
Normal file
24
GerbilManagerWebAPI/Dtos/WaitingListDtos.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
namespace GerbilManagerWebAPI.Dtos
|
||||
{
|
||||
/// <summary>WAITLIST: payload for POST/PUT /waiting-list.</summary>
|
||||
public record WaitingListInput(
|
||||
Guid? ContactId,
|
||||
string? ContactName,
|
||||
string? WishColor,
|
||||
string? WishGender,
|
||||
DateTime? RequestedAt,
|
||||
string? Status,
|
||||
string? Note);
|
||||
|
||||
/// <summary>WAITLIST: response DTO for a stored waiting-list entry.</summary>
|
||||
public record WaitingListDto(
|
||||
Guid Id,
|
||||
Guid? ContactId,
|
||||
string? ContactName,
|
||||
string? WishColor,
|
||||
string? WishGender,
|
||||
DateTime? RequestedAt,
|
||||
string Status,
|
||||
string? Note,
|
||||
DateTimeOffset CreatedAt);
|
||||
}
|
||||
Reference in New Issue
Block a user