meysamhadeli a6f7bd46d5 - add flight read models
- add aircraft read models
- add airport read models
2022-07-15 18:36:41 +04:30

15 lines
404 B
C#

using BuildingBlocks.IdsGenerator;
using BuildingBlocks.Utils;
using ICommand = BuildingBlocks.Core.CQRS.ICommand;
namespace BuildingBlocks.Core.Event;
public class InternalCommand : IInternalCommand, ICommand
{
public long Id { get; set; } = SnowFlakIdGenerator.NewId();
public DateTime OccurredOn => DateTime.Now;
public string Type { get => TypeProvider.GetTypeName(GetType()); }
}