19 lines
535 B
C#
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();
|
|
}
|
|
}
|