using System; using System.Collections.Generic; using Kreta.Ellenorzo.Domain.VN.Intezmeny; using Kreta.Ellenorzo.Domain.VN.UniqueIdentifier; namespace Kreta.Ellenorzo.Domain.VN.Felhasznalo.Tanulo { [Serializable] public class TanuloGetResponse : IEqualityComparer { public int TanevId { get; set; } public HashSet GondviseloLista { get; set; } public TanuloUid Uid { get; set; } public Guid IdpUniqueId { get; set; } public IntezmenyResponse Intezmeny { get; set; } public TanuloAdatResponse TanuloAdat { get; set; } public bool Equals(TanuloGetResponse x, TanuloGetResponse y) => x.Uid.Equals(x.Uid, y.Uid); public int GetHashCode(TanuloGetResponse obj) => obj.Uid.UidRaw.GetHashCode(); } }