27 lines
825 B
C#
27 lines
825 B
C#
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<TanuloGetResponse>
|
|
{
|
|
public int TanevId { get; set; }
|
|
|
|
public HashSet<GondviseloGetResponse> 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();
|
|
}
|
|
}
|