Phase 2: Backend API Implementation - DTOs, Services, and Controllers
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
namespace Hospitality.Backend.DTOs;
|
||||
|
||||
public record CreateTransactionRequest(
|
||||
Guid QrCode,
|
||||
Guid ProductId,
|
||||
int Amount
|
||||
);
|
||||
|
||||
public record TransactionResponse(
|
||||
Guid Id,
|
||||
Guid PersonId,
|
||||
string PersonName,
|
||||
Guid ProductId,
|
||||
string ProductName,
|
||||
int Amount,
|
||||
DateTime Timestamp,
|
||||
Guid? StaffId
|
||||
);
|
||||
Reference in New Issue
Block a user