init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,33 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Kreta.Ellenorzo.Domain.VN.Common;
|
||||
using Kreta.Ellenorzo.Domain.VN.Intezmeny.Rendszermodul;
|
||||
using Kreta.Ellenorzo.Domain.VN.Intezmeny.TestreszabasBeallitasok;
|
||||
|
||||
namespace Kreta.Ellenorzo.Domain.VN.Intezmeny
|
||||
{
|
||||
[Serializable]
|
||||
public class IntezmenyResponse : IEqualityComparer<IntezmenyResponse>
|
||||
{
|
||||
public IntezmenyAdatok IntezmenyAdatok { get; set; }
|
||||
|
||||
public HashSet<RendszermodulListResponse> Rendszermodulok { get; set; }
|
||||
|
||||
public TestreszabasBeallitasokResponse TestreszabasBeallitasok { get; set; }
|
||||
|
||||
public bool Equals(IntezmenyResponse x, IntezmenyResponse y) => x.IntezmenyAdatok.Uid.Equals(x.IntezmenyAdatok.Uid, y.IntezmenyAdatok.Uid);
|
||||
|
||||
public int GetHashCode(IntezmenyResponse obj) => obj.IntezmenyAdatok.Uid.UidRaw.GetHashCode();
|
||||
|
||||
public static explicit operator IntezmenyResponse(IntezmenyModel model) => model == null ? null :
|
||||
new IntezmenyResponse
|
||||
{
|
||||
IntezmenyAdatok = new IntezmenyAdatok
|
||||
{
|
||||
Uid = model.Uid,
|
||||
Azonosito = model.Azonosito,
|
||||
TeljesNev = model.TeljesNev
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue