using System.Collections.Generic; using Kreta.Naplo.Domain.V3.UniqueIdentifier; namespace Kreta.Naplo.Domain.V3.Intezmeny { public class IntezmenyAdatok : IEqualityComparer { public IntezmenyUid Uid { get; set; } public string Azonosito { get; set; } public string TeljesNev { get; set; } public string RovidNev { get; set; } public bool Equals(IntezmenyAdatok x, IntezmenyAdatok y) => x.Uid.Equals(x.Uid, y.Uid); public int GetHashCode(IntezmenyAdatok obj) => obj.Uid.UidRaw.GetHashCode(); } }