17 lines
557 B
C#
17 lines
557 B
C#
using System.Collections.Generic;
|
|
using Kreta.Ellenorzo.Domain.VN.UniqueIdentifier;
|
|
|
|
namespace Kreta.Ellenorzo.Domain.VN.Csatolmany
|
|
{
|
|
public class CsatolmanySimplifiedResponse : IEqualityComparer<CsatolmanySimplifiedResponse>
|
|
{
|
|
public CsatolmanyUid Uid { get; set; }
|
|
|
|
public string Nev { get; set; }
|
|
|
|
public bool Equals(CsatolmanySimplifiedResponse x, CsatolmanySimplifiedResponse y) => x.Uid.Equals(x.Uid, y.Uid);
|
|
|
|
public int GetHashCode(CsatolmanySimplifiedResponse obj) => obj.Uid.UidRaw.GetHashCode();
|
|
}
|
|
}
|