public static TerrainObjectHouseNumberWasImportedFromCrab ToLegacyEvent(this ImportTerrainObjectHouseNumberFromCrab command)
 {
     return(new TerrainObjectHouseNumberWasImportedFromCrab(
                command.TerrainObjectHouseNumberId,
                command.TerrainObjectId,
                command.HouseNumberId,
                command.Lifetime,
                command.Timestamp,
                command.Operator,
                command.Modification,
                command.Organisation));
 }
 public static ImportTerrainObjectHouseNumberFromCrab WithLifetime(this ImportTerrainObjectHouseNumberFromCrab command, CrabLifetime lifetime)
 {
     return(new ImportTerrainObjectHouseNumberFromCrab(
                command.CaPaKey,
                command.TerrainObjectHouseNumberId,
                command.TerrainObjectId,
                command.HouseNumberId,
                lifetime,
                command.Timestamp,
                command.Operator,
                command.Modification,
                command.Organisation));
 }