20 lines
581 B
C#
20 lines
581 B
C#
using System.Collections.Generic;
|
|
using Kreta.Naplo.Domain.V3.UniqueIdentifier;
|
|
|
|
namespace Kreta.Naplo.Domain.V3.Intezmeny
|
|
{
|
|
public class IntezmenyAdatok : IEqualityComparer<IntezmenyAdatok>
|
|
{
|
|
public IntezmenyUid Uid { get; set; }
|
|
|
|
public string Azonosito { get; set; }
|
|
|
|
public string TeljesNev { get; set; }
|
|
|
|
public string RovidNev { get; set; }
|
|
|
|
public bool Equals(IntezmenyAdatok x, IntezmenyAdatok y) => x.Uid.Equals(x.Uid, y.Uid);
|
|
|
|
public int GetHashCode(IntezmenyAdatok obj) => obj.Uid.UidRaw.GetHashCode();
|
|
}
|
|
}
|