mirror of https://github.com/dapr/quickstarts.git
9 lines
473 B
C#
9 lines
473 B
C#
namespace WorkflowConsoleApp.Models
|
|
{
|
|
record OrderPayload(string Name, double TotalCost, int Quantity = 1);
|
|
record InventoryRequest(string RequestId, string ItemName, int Quantity);
|
|
record InventoryResult(bool Success, OrderPayload orderPayload);
|
|
record PaymentRequest(string RequestId, string ItemBeingPruchased, int Amount, double Currency);
|
|
record OrderResult(bool Processed);
|
|
record InventoryItem(string Name, double TotalCost, int Quantity);
|
|
} |