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

View File

@@ -0,0 +1,12 @@
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Enum;
using Kreta.Enums.ManualEnums.WebApi.Naplo;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Enum
{
public class EnumRequestCo
{
public string Hash { get; set; }
public NaploEnumCo<EngedelyezettEnumok> EngedelyezettEnum { get; set; }
}
}

View File

@@ -0,0 +1,14 @@
using System.Collections.Generic;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Felmentes
{
public class FelmentesGetRequestCo
{
public IEnumerable<int> TanuloIds { get; set; }
public int FelhasznaloId { get; set; }
public int IntezmenyId { get; set; }
public string IntezmenyAzonosito { get; set; }
public int TanevId { get; set; }
public int TantargyId { get; set; }
}
}

View File

@@ -0,0 +1,25 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Felmentes
{
using System;
public class FelmentesGetResponseCo
{
public int Id { get; set; }
public bool IsErtekelesAlolFelmentett { get; set; }
public bool IsOralatogatasAlolFelmentett { get; set; }
public bool IsSzovegesenErtekelheto { get; set; }
public string FelmentesOkSzovege { get; set; }
public DateTime? KezdetDatuma { get; set; }
public int TantargyId { get; set; }
public string TantargyNev { get; set; }
public DateTime? VegDatuma { get; set; }
}
}

View File

@@ -0,0 +1,8 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.OpenBoard
{
public class FeltolthetoFajlokSzamaRequestCo
{
public int? OrarendiOraId { get; set; }
public int? TanitasiOraId { get; set; }
}
}

View File

@@ -0,0 +1,10 @@
using Kreta.Core.Validation.Exceptions;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.OpenBoard
{
public class FeltolthetoFajlokSzamaResponseCo
{
public int FeltolthetoFajlokSzama { get; set; }
public ValidationException Exception { get; set; }
}
}

View File

@@ -0,0 +1,11 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.Common
{
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Enum;
public interface IJavasoltJelenletSzuroGetResponseCo
{
string Megjegyzes { get; set; }
JavasoltJelenletTemplateType Tipus { get; set; }
}
}

View File

@@ -0,0 +1,10 @@
using System.Collections.Generic;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.Common
{
public interface IJavasoltJelenletTanuloGetResponseCo
{
int TanuloId { get; set; }
List<IJavasoltJelenletSzuroGetResponseCo> JavasoltJelenletTemplateTipusSzuroLista { get; set; }
}
}

View File

@@ -0,0 +1,7 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.EgyediOra.JavasoltJelenlet
{
public class JavasoltJelenletGetRequestCo
{
public JavasoltJelenletKeyGetRequestCo[] Key { get; set; }
}
}

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.EgyediOra.JavasoltJelenlet
{
public class JavasoltJelenletGetResponseCo
{
public int TantargyId { get; set; }
public int OsztalyCsoportId { get; set; }
public DateTime OraKezdetDatuma { get; set; }
public List<JavasoltJelenletTanuloGetResponseCo> TanuloLista { get; set; }
}
}

View File

@@ -0,0 +1,15 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.EgyediOra.JavasoltJelenlet
{
using System;
public class JavasoltJelenletKeyGetRequestCo
{
public DateTime OraKezdetDatuma { get; set; }
public DateTime OraVegDatuma { get; set; }
public int OsztalyCsoportId { get; set; }
public int TantargyId { get; set; }
}
}

View File

@@ -0,0 +1,22 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.EgyediOra.JavasoltJelenlet
{
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.Common;
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Enum;
public class JavasoltJelenletSzuroGetResponseCo : IJavasoltJelenletSzuroGetResponseCo
{
public JavasoltJelenletSzuroGetResponseCo(JavasoltJelenletTemplateType tipus)
{
this.Megjegyzes = Constant.GetMegjegyzesByJavasoltJelenletTemplateType(tipus);
this.Tipus = tipus;
}
private JavasoltJelenletSzuroGetResponseCo()
{
}
public string Megjegyzes { get; set; }
public JavasoltJelenletTemplateType Tipus { get; set; }
}
}

View File

@@ -0,0 +1,11 @@
using System.Collections.Generic;
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.Common;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.EgyediOra.JavasoltJelenlet
{
public class JavasoltJelenletTanuloGetResponseCo : IJavasoltJelenletTanuloGetResponseCo
{
public int TanuloId { get; set; }
public List<IJavasoltJelenletSzuroGetResponseCo> JavasoltJelenletTemplateTipusSzuroLista { get; set; }
}
}

View File

@@ -0,0 +1,10 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.JavasoltJelenletTemplate
{
using Kreta.Enums.ManualEnums;
public class JavasoltJelenletTemplateGetRequestCo
{
public string Hash { get; set; }
public TanoraAllapotaEnum OraAllapot { get; set; }
}
}

View File

@@ -0,0 +1,12 @@
using System.Collections.Generic;
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Enum;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.JavasoltJelenletTemplate
{
public class JavasoltJelenletTemplateGetResponseCo
{
public int Prioritas { get; set; }
public JavasoltJelenletTemplateType Tipus { get; set; }
public List<JavasoltJelenletTemplateItemGetResponseCo> SzuroElemLista { get; set; }
}
}

View File

@@ -0,0 +1,23 @@
using System;
using Kreta.Enums;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.JavasoltJelenletTemplate
{
public class JavasoltJelenletTemplateItemGetResponseCo : IEquatable<JavasoltJelenletTemplateItemGetResponseCo>
{
public JavasoltJelenletTemplateItemGetResponseCo(bool isDefault, bool isEnabled, MulasztasTipusEnum mulasztasTipusAdatszotar)
{
IsDefault = isDefault;
IsEnabled = isEnabled;
MulasztasTipusAdatszotar = mulasztasTipusAdatszotar;
}
public bool IsDefault { get; set; }
public bool IsEnabled { get; set; }
public MulasztasTipusEnum MulasztasTipusAdatszotar { get; set; }
public bool Equals(JavasoltJelenletTemplateItemGetResponseCo other) => MulasztasTipusAdatszotar == other.MulasztasTipusAdatszotar;
public override int GetHashCode() => MulasztasTipusAdatszotar.GetHashCode();
}
}

View File

@@ -0,0 +1,7 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.OrarendiOra.JavasoltJelenlet
{
public class JavasoltJelenletGetRequestCo
{
public JavasoltJelenletKeyGetRequestCo[] Key { get; set; }
}
}

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.OrarendiOra.JavasoltJelenlet
{
public class JavasoltJelenletGetResponseCo
{
public int OrarendiOraId { get; set; }
public DateTime OraKezdetDatuma { get; set; }
public List<JavasoltJelenletTanuloGetResponseCo> TanuloLista { get; set; }
}
}

View File

@@ -0,0 +1,12 @@
using System;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.OrarendiOra.JavasoltJelenlet
{
public class JavasoltJelenletKeyGetRequestCo
{
public int OrarendiOraId { get; set; }
public DateTime OraKezdetDatuma { get; set; }
public DateTime OraVegDatuma { get; set; }
public bool IsHelyettesitesKeresoAltalTalaltOra { get; set; }
}
}

View File

@@ -0,0 +1,22 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.OrarendiOra.JavasoltJelenlet
{
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.Common;
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Enum;
public class JavasoltJelenletSzuroGetResponseCo : IJavasoltJelenletSzuroGetResponseCo
{
public JavasoltJelenletSzuroGetResponseCo(JavasoltJelenletTemplateType tipus)
{
this.Megjegyzes = Constant.GetMegjegyzesByJavasoltJelenletTemplateType(tipus);
this.Tipus = tipus;
}
private JavasoltJelenletSzuroGetResponseCo()
{
}
public string Megjegyzes { get; set; }
public JavasoltJelenletTemplateType Tipus { get; set; }
}
}

View File

@@ -0,0 +1,11 @@
using System.Collections.Generic;
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.Common;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.OrarendiOra.JavasoltJelenlet
{
public class JavasoltJelenletTanuloGetResponseCo : IJavasoltJelenletTanuloGetResponseCo
{
public int TanuloId { get; set; }
public List<IJavasoltJelenletSzuroGetResponseCo> JavasoltJelenletTemplateTipusSzuroLista { get; set; }
}
}

View File

@@ -0,0 +1,7 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.TanitasiOra.JavasoltJelenlet
{
public class JavasoltJelenletGetRequestCo
{
public JavasoltJelenletKeyGetRequestCo[] Key { get; set; }
}
}

View File

@@ -0,0 +1,10 @@
using System.Collections.Generic;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.TanitasiOra.JavasoltJelenlet
{
public class JavasoltJelenletGetResponseCo
{
public int TanitasiOraId { get; set; }
public List<JavasoltJelenletTanuloGetResponseCo> TanuloLista { get; set; }
}
}

View File

@@ -0,0 +1,7 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.TanitasiOra.JavasoltJelenlet
{
public class JavasoltJelenletKeyGetRequestCo
{
public int TanitasiOraId { get; set; }
}
}

View File

@@ -0,0 +1,22 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.TanitasiOra.JavasoltJelenlet
{
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.Common;
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Enum;
public class JavasoltJelenletSzuroGetResponseCo : IJavasoltJelenletSzuroGetResponseCo
{
public JavasoltJelenletSzuroGetResponseCo(JavasoltJelenletTemplateType tipus)
{
this.Megjegyzes = Constant.GetMegjegyzesByJavasoltJelenletTemplateType(tipus);
this.Tipus = tipus;
}
private JavasoltJelenletSzuroGetResponseCo()
{
}
public string Megjegyzes { get; set; }
public JavasoltJelenletTemplateType Tipus { get; set; }
}
}

View File

@@ -0,0 +1,11 @@
using System.Collections.Generic;
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.Common;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Ora.TanitasiOra.JavasoltJelenlet
{
public class JavasoltJelenletTanuloGetResponseCo : IJavasoltJelenletTanuloGetResponseCo
{
public int TanuloId { get; set; }
public List<IJavasoltJelenletSzuroGetResponseCo> JavasoltJelenletTemplateTipusSzuroLista { get; set; }
}
}

View File

@@ -0,0 +1,10 @@
using System;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Orarend
{
public class OraGetRequestCo
{
public string Hash { get; set; }
public DateTime Datum { get; set; }
}
}

View File

@@ -0,0 +1,30 @@
using System;
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Enum;
using Kreta.Enums.ManualEnums;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Orarend
{
public class OraGetResponseCo
{
public int? OrarendiOraId { get; set; }
public int? TanitasiOraId { get; set; }
public NaploEnumCo<TanoraAllapotaEnum> Allapot { get; set; }
public DateTime Kezdete { get; set; }
public DateTime Vege { get; set; }
public int? Oraszam { get; set; }
public int? EvesOraszam { get; set; }
public bool IsElmaradt { get; set; }
public string Tema { get; set; }
public int TantargyId { get; set; }
public string TantargyNev { get; set; }
public string TantargyKategoria { get; set; }
public int OsztalyCsoportId { get; set; }
public string OsztalyCsoportNev { get; set; }
public string TeremNev { get; set; }
public string HazifeladatSzovege { get; set; }
public int? HazifeladatId { get; set; }
public DateTime? HazifeladatHatarido { get; set; }
public TanarSimplifiedGetResponseCo OraTulajdonosTanar { get; set; }
public int? HelyettesitoId { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Orarend
{
public class TanarSimplifiedGetResponseCo
{
public int Id { get; set; }
public string Nev { get; set; }
}
}

View File

@@ -0,0 +1,7 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanar
{
public class IskolaorRequestCo
{
public string Hash { get; set; }
}
}

View File

@@ -0,0 +1,15 @@

namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanar
{
public class IskolaorResponseCo
{
public int Id { 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 IdpEgyediAzonosito { get; set; }
public string IntezmenyAzonosito { get; set; }
}
}

View File

@@ -0,0 +1,7 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanar
{
public class ProfilRequestCo
{
public string Hash { get; set; }
}
}

View File

@@ -0,0 +1,14 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanar
{
public class ProfilResponseCo
{
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; }
}
}

View File

@@ -0,0 +1,7 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanmenet
{
public class TanmenetGetRequestCo
{
public TanmenetKeyGetRequestCo[] Key { get; set; }
}
}

View File

@@ -0,0 +1,12 @@
using System.Collections.Generic;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanmenet
{
public class TanmenetGetResponseCo
{
public int OsztalyCsoportId { get; set; }
public int TantargyId { get; set; }
public int FeltoltoTanarId { get; set; }
public List<TanmenetItemGetResponseCo> Items { get; set; }
}
}

View File

@@ -0,0 +1,12 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanmenet
{
public class TanmenetItemGetResponseCo
{
public int Id { get; set; }
public string Megjegyzes { get; set; }
public string Nev { get; set; }
public string RovidNev { get; set; }
public string Tema { get; set; }
public int EvesOraszam { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanmenet
{
public class TanmenetKeyGetRequestCo
{
public int OsztalyCsoportId { get; set; }
public int TantargyId { get; set; }
public int FeltoltoTanarId { get; set; }
}
}

View File

@@ -0,0 +1,11 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanulo
{
public class ErtekelesFajtaCo
{
public int? Osztalyzat { get; set; }
public string Szoveg { get; set; }
public int? Szazalek { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanulo
{
public class ErtekelesGetRequestCo
{
public int TanuloId { get; set; }
public int TantargyId { get; set; }
}
}

View File

@@ -0,0 +1,23 @@
using System;
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Enum;
using Kreta.Enums;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanulo
{
public class ErtekelesGetResponseCo
{
public int Id { get; set; }
public ErtekelesFajtaCo Ertekeles { get; set; }
public DateTime Datum { get; set; }
public NaploEnumCo<ErtekelesTipusEnum> Tipus { get; set; }
public NaploEnumCo<ErtekelesModEnum> Mod { get; set; }
public int Suly { get; set; }
public string Tema { get; set; }
}
}

View File

@@ -0,0 +1,125 @@
using System;
using Kreta.Core.CustomAttributes;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanulo
{
public class ErtekelesResponseDao
{
[ColumnName("TipusId")]
public int TipusId { get; set; }
[ColumnName("TipusId_DNAME")]
public string TipusNeve { get; set; }
[ColumnName("Datum")]
public DateTime Datum { get; set; }
[ColumnName("ID")]
public int Id { get; set; }
[ColumnName("ErtekeloId")]
public int ErtekeloId { get; set; }
[ColumnName("ErtekeloNyomtatasiNev")]
public string ErtekeloNyomtatasiNev { get; set; }
[ColumnName("IsMagatartasSzorgalom")]
public bool IsMagatartasSzorgalom { get; set; }
[ColumnName("RogzitesDatum")]
public DateTime RogzitesDatum { get; set; }
[ColumnName("OsztalyCsoportId")]
public int OsztalyCsoportId { get; set; }
[ColumnName("ErtekelesModId")]
public int? ErtekelesModId { get; set; }
[ColumnName("ErtekelesModId_DNAME")]
public string ErtekelesModNeve { get; set; }
[ColumnName("ErtekelesTema")]
public string ErtekelesTema { get; set; }
[ColumnName("TantargyId")]
public int? TantargyId { get; set; }
[ColumnName("TantargyNev")]
public string TantargyNev { get; set; }
[ColumnName("TantargyKategoriaId")]
public int? TantargyKategoriaId { get; set; }
[ColumnName("TantargyKategoriaId_DNAME")]
public string TantargyKategoriaNeve { get; set; }
[ColumnName("IsFotargy")]
public bool? IsFotargy { get; set; }
[ColumnName("SorSzam")]
public int? SorSzam { get; set; }
[ColumnName("FotargyId")]
public int? FotargyId { get; set; }
[ColumnName("FotargyNev")]
public string FotargyNev { get; set; }
[ColumnName("FotargyTantargyKategoriaId")]
public int? FotargyTantargyKategoriaId { get; set; }
[ColumnName("ErtekelesOsztalyzatId_DNAME")]
public string ErtekelesOsztalyzatNeve { get; set; }
[ColumnName("ErtekelesSzoveg")]
public string ErtekelesSzoveg { get; set; }
[ColumnName("SzovegesErtekelesRovidNev")]
public string SzovegesErtekelesRovidNev { get; set; }
[ColumnName("ErtekelesSzovegFormazott")]
public string ErtekelesSzovegFormazott { get; set; }
[ColumnName("ErtekelesSzazalek")]
public int? ErtekelesSzazalekErteke { get; set; }
[ColumnName("ErtekelesOsztalyzatId")]
public int? ErtekelesOsztalyzatId { get; set; }
[ColumnName("ErtekelesSuly")]
public int ErtekelesSuly { get; set; }
[ColumnName("MagatartasOsztalyzatId_DNAME")]
public string MagatartasOsztalyzatSzovegesen { get; set; }
[ColumnName("MagatartasSzoveg")]
public string MagatartasSzoveg { get; set; }
[ColumnName("MagatartasSzovegFormazott")]
public string MagatartasSzovegFormazott { get; set; }
[ColumnName("MagatartasErtekId_DNAME")]
public string MagatartasErtekSzovegesen { get; set; }
[ColumnName("MagatartasOsztalyzatId")]
public int? MagatartasOsztalyzatId { get; set; }
[ColumnName("SzorgalomOsztalyzatId_DNAME")]
public string SzorgalomOsztalyzatSzovegesen { get; set; }
[ColumnName("SzorgalomSzoveg")]
public string SzorgalomSzoveg { get; set; }
[ColumnName("SzorgalomSzovegFormazott")]
public string SzorgalomSzovegFormazott { get; set; }
[ColumnName("SzorgalomErtekId_DNAME")]
public string SzorgalomErtekSzoveges { get; set; }
[ColumnName("SzorgalomOsztalyzatId")]
public int? SzorgalomOsztalyzatId { get; set; }
[ColumnName("TanuloId")]
public int TanuloId { get; set; }
}
}

View File

@@ -0,0 +1,8 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanulo
{
public class FeljegyzesRequestCo
{
public string Hash { get; set; }
public int TanoraId { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
using System.Collections.Generic;
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Enum;
using Kreta.Enums;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanulo
{
public class FeljegyzesResponseCo
{
public List<FeljegyzesInfoResponseCo> FeljegyzesLista { get; set; }
public int TanuloId { get; set; }
}
public class FeljegyzesInfoResponseCo
{
public int Id { get; set; }
public NaploEnumCo<EsemenyTipusEnum> Tipus { get; set; }
}
}

View File

@@ -0,0 +1,8 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanulo
{
public class MulasztasRequestCo
{
public string Hash { get; set; }
public int TanoraId { get; set; }
}
}

View File

@@ -0,0 +1,13 @@
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Enum;
using Kreta.Enums;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanulo
{
public class MulasztasResponseCo
{
public int Id { get; set; }
public NaploEnumCo<MulasztasTipusEnum> Tipus { get; set; }
public int? Keses { get; set; }
public int TanuloId { get; set; }
}
}

View File

@@ -0,0 +1,15 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanulo
{
using System;
public class OsztalyTanuloiRequestCo
{
private DateTime? oraShortDatuma;
public string Hash { get; set; }
public DateTime? OraShortDatuma { get => this.oraShortDatuma; set => this.oraShortDatuma = value?.Date; }
public int OsztalyCsoportId { get; set; }
}
}

View File

@@ -0,0 +1,11 @@
using System.Collections.Generic;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanulo
{
public class OsztalyTanuloiResponseCo
{
public int Id { get; set; }
public string Nev { get; set; }
public List<TanuloResponseCo> TanuloLista { get; set; } = new List<TanuloResponseCo>();
}
}

View File

@@ -0,0 +1,9 @@
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanulo
{
public class TanugyiAdatokGetResponseCo
{
public bool IsJogviszonySzunetelteto { get; set; }
public bool IsSzakmaiGyakorlatonLevo { get; set; }
}
}

View File

@@ -0,0 +1,21 @@

namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanulo
{
public class TanuloMentessegResponseCo
{
public int TantargyId { get; set; }
public bool IsErtkelesMentesseg { get; set; }
public bool IsSzovegesenErtekelheto { get; set; }
public bool IsTanoraLatogatasMentesseg { get; set; }
public TanuloMentessegResponseCo() { }
public TanuloMentessegResponseCo(int? tantargyId, bool? isErtekelesMentesseg, bool? isSzovegesenErtekelheto, bool? isOraMentesites)
{
TantargyId = tantargyId.Value;
IsErtkelesMentesseg = isErtekelesMentesseg ?? false;
IsSzovegesenErtekelheto = isSzovegesenErtekelheto ?? false;
IsTanoraLatogatasMentesseg = isOraMentesites ?? false;
}
}
}

View File

@@ -0,0 +1,36 @@
using System;
using System.Collections.Generic;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanulo
{
public class TanuloResponseCo
{
public int Id { get; set; }
public string Nev { get; set; }
public string AnyjaNev { get; set; }
public DateTime Szuletes { get; set; }
public bool IsMaganTanulo { get; set; }
public DateTime? MaganTanulosagKezdetDatuma { get; set; }
public DateTime? MaganTanulosagVegeDatuma { get; set; }
public TanugyiAdatokGetResponseCo TanugyiAdatok { get; set; }
public List<TanuloMentessegResponseCo> Felmentesek { get; set; } = new List<TanuloMentessegResponseCo>();
public TanuloResponseCo() { }
public TanuloResponseCo(TanuloResponseDao dao)
{
Id = dao.TanuloId;
Nev = dao.NyomtatasiNev;
AnyjaNev = dao.AnyjaNeve;
Szuletes = dao.SzuletesiDatum;
IsMaganTanulo = dao.IsMaganTanulo ?? false;
MaganTanulosagKezdetDatuma = dao.MaganTanulosagKezdetDatuma;
MaganTanulosagVegeDatuma = dao.MaganTanulosagVegeDatuma;
TanugyiAdatok = new TanugyiAdatokGetResponseCo
{
IsJogviszonySzunetelteto = dao.IsJogviszonySzunetelteto ?? false,
IsSzakmaiGyakorlatonLevo = dao.IsSzakmaiGyakorlatonLevo ?? false
};
}
}
}

View File

@@ -0,0 +1,50 @@
using System;
using Kreta.Core.CustomAttributes;
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanulo
{
public class TanuloResponseDao
{
[ColumnName("TanuloId")]
public int TanuloId { get; set; }
[ColumnName("TanuloNyomtatasiNev")]
public string NyomtatasiNev { get; set; }
[ColumnName("TanuloAnyjaNev")]
public string AnyjaNeve { get; set; }
[ColumnName("TanuloSzuletesiDatum")]
public DateTime SzuletesiDatum { get; set; }
[ColumnName("OsztalyCsoportNev")]
public string OsztalyCsoportNev { get; set; }
[ColumnName("IsMaganTanulo")]
public bool? IsMaganTanulo { get; set; }
[ColumnName("MaganTanulosagKezdetDatuma")]
public DateTime? MaganTanulosagKezdetDatuma { get; set; }
[ColumnName("MaganTanulosagVegeDatuma")]
public DateTime? MaganTanulosagVegeDatuma { get; set; }
[ColumnName("IsJogviszonySzunetelteto")]
public bool? IsJogviszonySzunetelteto { get; set; }
[ColumnName("IsSzakmaiGyakorlatonLevo")]
public bool? IsSzakmaiGyakorlatonLevo { get; set; }
[ColumnName("TantargyId")]
public int? TantargyId { get; set; }
[ColumnName("IsErtekelesMentesseg")]
public bool? IsErtekelesMentesseg { get; set; }
[ColumnName("IsSzovegesenErtekelheto")]
public bool? IsSzovegesenErtekelheto { get; set; }
[ColumnName("IsOraMentesites")]
public bool? IsOraMentesites { get; set; }
}
}