This commit is contained in:
skidoodle 2024-03-13 00:33:46 +01:00
commit e124a47765
19374 changed files with 9806149 additions and 0 deletions

View file

@ -0,0 +1,37 @@
using System;
using System.Collections.Generic;
using Kreta.Ellenorzo.Domain.VN.UniqueIdentifier;
namespace Kreta.Ellenorzo.Domain.VN.Felhasznalo.Tanulo
{
[Serializable]
public class GondviseloGetResponse : IEqualityComparer<GondviseloGetResponse>
{
public GondviseloUid Uid { get; set; }
public Guid IdpUniqueId { get; set; }
public string Nev { get; set; }
public string EmailCim { get; set; }
public string Telefonszam { get; set; }
public bool IsTorvenyesKepviselo { get; set; }
public bool Equals(GondviseloGetResponse x, GondviseloGetResponse y) => x.Uid.Equals(x.Uid, y.Uid);
public int GetHashCode(GondviseloGetResponse obj) => obj.Uid.UidRaw.GetHashCode();
public static explicit operator GondviseloGetResponse(Gondviselo.GondviseloResponse model) => model == null ? null :
new GondviseloGetResponse
{
Uid = model.Uid,
IdpUniqueId = model.IdpUniqueId,
Nev = model.Nev,
EmailCim = model.EmailCim,
Telefonszam = model.Telefonszam,
IsTorvenyesKepviselo = model.IsTorvenyesKepviselo
};
}
}