Files
2024-03-13 00:33:46 +01:00

19 lines
535 B
C#

using System.Collections.Generic;
using Kreta.Ellenorzo.Domain.VN.UniqueIdentifier;
namespace Kreta.Ellenorzo.Domain.VN.Common
{
public class IntezmenyModel : IEqualityComparer<IntezmenyModel>
{
public IntezmenyUid Uid { get; set; }
public string Azonosito { get; set; }
public string TeljesNev { get; set; }
public bool Equals(IntezmenyModel x, IntezmenyModel y) => x.Uid.Equals(x.Uid, y.Uid);
public int GetHashCode(IntezmenyModel obj) => obj.Uid.UidRaw.GetHashCode();
}
}