init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -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
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue