|
|
@ -0,0 +1,18 @@ |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Text; |
|
|
|
|
|
|
|
namespace Microsoft.eShopOnContainers.BuildingBlocks.CommandBus |
|
|
|
{ |
|
|
|
public abstract class IntegrationCommand |
|
|
|
{ |
|
|
|
public Guid Id { get; private set; } |
|
|
|
public DateTime Sent { get; private set; } |
|
|
|
|
|
|
|
protected IntegrationCommand() |
|
|
|
{ |
|
|
|
Id = Guid.NewGuid(); |
|
|
|
Sent = DateTime.UtcNow; |
|
|
|
} |
|
|
|
} |
|
|
|
} |