kreta/Kreta.WebApi/Naplo/Kreta.Naplo.Domain/V3/Intezmeny/IntezmenyAdatok.cs
2024-03-13 00:33:46 +01:00

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();
}
}