mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-11 10:32:09 +08:00
12 lines
269 B
C#
12 lines
269 B
C#
using BuildingBlocks.IdsGenerator;
|
|
using BuildingBlocks.Utils;
|
|
|
|
public interface IInternalCommand
|
|
{
|
|
public long Id => SnowFlakIdGenerator.NewId();
|
|
|
|
public DateTime OccurredOn => DateTime.Now;
|
|
|
|
public string Type => TypeProvider.GetTypeName(GetType());
|
|
}
|