26 lines
731 B
C#
26 lines
731 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Kreta.Ellenorzo.Domain.VN.UniqueIdentifier;
|
|
|
|
namespace Kreta.Ellenorzo.Domain.VN.Felhasznalo.Gondviselo
|
|
{
|
|
public class GondviseloResponse : IEqualityComparer<GondviseloResponse>
|
|
{
|
|
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(GondviseloResponse x, GondviseloResponse y) => x.Uid.Equals(x.Uid, y.Uid);
|
|
|
|
public int GetHashCode(GondviseloResponse obj) => obj.Uid.UidRaw.GetHashCode();
|
|
}
|
|
}
|