22 lines
675 B
C#
22 lines
675 B
C#
using System.Collections.Generic;
|
|
using Kreta.Ellenorzo.Domain.VN.Adatszotar;
|
|
using Kreta.Ellenorzo.Domain.VN.UniqueIdentifier;
|
|
using Kreta.Enums;
|
|
|
|
namespace Kreta.Ellenorzo.Domain.VN.Telefon
|
|
{
|
|
public class TelefonResponse : IEqualityComparer<TelefonResponse>
|
|
{
|
|
public string Telefonszam { get; set; }
|
|
|
|
public Adatszotar<TelefonTipusEnum> Tipus { get; set; }
|
|
|
|
public bool IsAlapertelmezett { get; set; }
|
|
|
|
public TelefonUid Uid { get; set; }
|
|
|
|
public bool Equals(TelefonResponse x, TelefonResponse y) => x.Uid.Equals(x.Uid, y.Uid);
|
|
|
|
public int GetHashCode(TelefonResponse obj) => obj.Uid.UidRaw.GetHashCode();
|
|
}
|
|
}
|