kreta/Kreta.WebApi/Ellenorzo/Kreta.Ellenorzo.Domain/VN/Felhasznalo/Tanulo/TanuloGetResponse.cs
2024-03-13 00:33:46 +01:00

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();
}
}