22 lines
653 B
C#
22 lines
653 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.Email
|
|
{
|
|
public class EmailResponse : IEqualityComparer<EmailResponse>
|
|
{
|
|
public string Email { get; set; }
|
|
|
|
public Adatszotar<EmailTipusEnum> Tipus { get; set; }
|
|
|
|
public bool IsAlapertelmezett { get; set; }
|
|
|
|
public EmailUid Uid { get; set; }
|
|
|
|
public bool Equals(EmailResponse x, EmailResponse y) => x.Uid.Equals(x.Uid, y.Uid);
|
|
|
|
public int GetHashCode(EmailResponse obj) => obj.Uid.UidRaw.GetHashCode();
|
|
}
|
|
}
|