This commit is contained in:
skidoodle 2024-03-13 00:33:46 +01:00
commit e124a47765
19374 changed files with 9806149 additions and 0 deletions

View file

@ -0,0 +1,15 @@
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanar;
using Kreta.Naplo.Domain.V2.Interface;
namespace Kreta.Naplo.Domain.V2.Model.Get.Tanar
{
public class IskolaorRequest : IGetRequest
{
public string Hash { get; set; }
public static implicit operator IskolaorRequestCo(IskolaorRequest model) => new IskolaorRequestCo
{
Hash = model.Hash
};
}
}

View file

@ -0,0 +1,28 @@
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanar;
namespace Kreta.Naplo.Domain.V2.Model.Get.Tanar
{
public class IskolaorResponse
{
public int Id { get; set; }
public string IdpEgyediAzonosito { get; set; }
public string Nev { get; set; }
public int FeladatEllatasiHelyId { get; set; }
public string FeladatEllatasiHely { get; set; }
public string EmailCim { get; set; }
public string Telefonszam { get; set; }
public string IntezmenyAzonosito { get; set; }
public static implicit operator IskolaorResponse(IskolaorResponseCo co) => new IskolaorResponse
{
Id = co.Id,
IdpEgyediAzonosito = co.IdpEgyediAzonosito,
Nev = co.Nev,
FeladatEllatasiHelyId = co.FeladatEllatasiHelyId,
FeladatEllatasiHely = co.FeladatEllatasiHely,
EmailCim = co.EmailCim,
Telefonszam = co.Telefonszam,
IntezmenyAzonosito = co.IntezmenyAzonosito
};
}
}

View file

@ -0,0 +1,15 @@
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanar;
using Kreta.Naplo.Domain.V2.Interface;
namespace Kreta.Naplo.Domain.V2.Model.Get.Tanar
{
public class ProfilRequest : IGetRequest
{
public string Hash { get; set; }
public static implicit operator ProfilRequestCo(ProfilRequest model) => new ProfilRequestCo
{
Hash = model.Hash
};
}
}

View file

@ -0,0 +1,28 @@
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanar;
namespace Kreta.Naplo.Domain.V2.Model.Get.Tanar
{
public class ProfilResponse
{
public int Id { get; set; }
public string Nev { get; set; }
public string Kep { get; set; }
public int FeladatEllatasiHelyId { get; set; }
public string FeladatEllatasiHely { get; set; }
public string PublikusEmailCim { get; set; }
public string MunkahelyiEmailCim { get; set; }
public string PublikusTelefonszam { get; set; }
public static implicit operator ProfilResponse(ProfilResponseCo co) => new ProfilResponse
{
Id = co.Id,
Nev = co.Nev,
Kep = co.Kep,
FeladatEllatasiHelyId = co.FeladatEllatasiHelyId,
FeladatEllatasiHely = co.FeladatEllatasiHely,
PublikusEmailCim = co.PublikusEmailCim,
MunkahelyiEmailCim = co.MunkahelyiEmailCim,
PublikusTelefonszam = co.PublikusTelefonszam
};
}
}