public static InstallationEntity FromDomain(InstallationDomain domain) => new InstallationEntity(domain.Id, domain.ExternalId, domain.IsAirly, domain.Location.Latitude, domain.Location.Longitude, domain.Location.Elevation, InstallationAddressEntity.FromDomain(domain.Address), InstallationSponsorEntity.FromDomain(domain.Sponsor));
public InstallationDomain ToDomain() => InstallationDomain.Create(_externalId, _isAirly, _location.ToDomain(), _address.ToDomain(), _sponsor.ToDomain());