using System.Collections.Generic; using Kreta.Ellenorzo.Domain.VN.Adatszotar; using Kreta.Ellenorzo.Domain.VN.UniqueIdentifier; using Kreta.Enums; namespace Kreta.Ellenorzo.Domain.VN.Telefon { public class TelefonResponse : IEqualityComparer { public string Telefonszam { get; set; } public Adatszotar Tipus { get; set; } public bool IsAlapertelmezett { get; set; } public TelefonUid Uid { get; set; } public bool Equals(TelefonResponse x, TelefonResponse y) => x.Uid.Equals(x.Uid, y.Uid); public int GetHashCode(TelefonResponse obj) => obj.Uid.UidRaw.GetHashCode(); } }