//public DeveloperStatus Status { get; set; } public DevloperSubmitedEvent(DeveloperUniqueId uniqueId, string name) { UniqueId = uniqueId; Name = name; Key = uniqueId.GetAggregateKey(); }
public DeveloperRejectedEvent(DeveloperUniqueId uniqueId, string name, DeveloperStatus status, int version) { UniqueId = uniqueId; Status = status; Name = name; Version = version; Key = uniqueId.GetAggregateKey(); }