kreta/KretaWeb/Areas/Alkalmazott/Models/AlkalmazottInfoModel.cs
2024-03-13 00:33:46 +01:00

880 lines
47 KiB
C#

using System;
using System.ComponentModel.DataAnnotations;
using Kreta.BusinessLogic.Classes;
using Kreta.BusinessLogic.HelperClasses;
using Kreta.BusinessLogic.Interfaces;
using Kreta.Core.CustomAttributes;
using Kreta.Enums;
using Kreta.Resources;
using Kreta.Web.Attributes;
using Kreta.Web.Security;
namespace Kreta.Web.Areas.Alkalmazott.Models
{
public class AlkalmazottInfoModel
{
public class AlapadatModel
{
[Display(Name = nameof(AlkalmazottResource.OktatasiAzonosito), ResourceType = typeof(AlkalmazottResource))]
public string OktatasiAzonosito { get; set; }
[Display(Name = nameof(AlkalmazottResource.Neme), ResourceType = typeof(AlkalmazottResource))]
public int Nem { get; set; }
[Display(Name = nameof(AlkalmazottResource.Neme), ResourceType = typeof(AlkalmazottResource))]
public string Nem_NAME { get { return Nem.GetDisplayName<NemEnum>(ClaimData.SelectedTanevID.Value); } }
[Display(Name = nameof(AlkalmazottResource.Elotag), ResourceType = typeof(AlkalmazottResource))]
public string EloTag { get; set; }
[Display(Name = nameof(AlkalmazottResource.AlkalmazottCsaladiNev), ResourceType = typeof(AlkalmazottResource))]
public string CsaladiNev { get; set; }
[Display(Name = nameof(AlkalmazottResource.AlkalmazottUtonev), ResourceType = typeof(AlkalmazottResource))]
public string Utonev { get; set; }
[Display(Name = nameof(AlkalmazottResource.SzuletesiCsaladiNev), ResourceType = typeof(AlkalmazottResource))]
public string SzuletesiCsaladNev { get; set; }
[Display(Name = nameof(AlkalmazottResource.SzuletesiUtonev), ResourceType = typeof(AlkalmazottResource))]
public string SzuletesiUtonev { get; set; }
[Display(Name = nameof(AlkalmazottResource.SzuletesiElotag), ResourceType = typeof(AlkalmazottResource))]
public string SzuletesiElotag { get; set; }
[Display(Name = nameof(AlkalmazottResource.AnyjaCsaladiNeve), ResourceType = typeof(AlkalmazottResource))]
public string AnyjaCsaladiNeve { get; set; }
[Display(Name = nameof(AlkalmazottResource.AnyjaUtoneve), ResourceType = typeof(AlkalmazottResource))]
public string AnyjaUtonev { get; set; }
[Display(Name = nameof(AlkalmazottResource.AnyjaElotag), ResourceType = typeof(AlkalmazottResource))]
public string AnyjaElotag { get; set; }
[Display(Name = nameof(AlkalmazottResource.SzuletesiOrszag), ResourceType = typeof(AlkalmazottResource))]
public string SzuletesiOrszag { get; set; }
[Display(Name = nameof(AlkalmazottResource.SzuletesiHely), ResourceType = typeof(AlkalmazottResource))]
public string SzuletesiHely { get; set; }
[Display(Name = nameof(AlkalmazottResource.SzuletesiIdo), ResourceType = typeof(AlkalmazottResource))]
public DateTime SzuletesiIdo { get; set; }
[Display(Name = nameof(AlkalmazottResource.SzuletesiIdo), ResourceType = typeof(AlkalmazottResource))]
public string SzuletesiIdo_SDATE { get { return SzuletesiIdo.ToString(Core.Constants.ToStringPattern.HungarianDateWithSpaces); } }
[Display(Name = nameof(AlkalmazottResource.Allampolgarsag), ResourceType = typeof(AlkalmazottResource))]
public string Allampolgarsag { get; set; }
[Display(Name = nameof(AlkalmazottResource.Allampolgarsag2), ResourceType = typeof(AlkalmazottResource))]
public string Allampolgarsag2 { get; set; }
[Display(Name = nameof(AlkalmazottResource.IgazolvanyTipus), ResourceType = typeof(AlkalmazottResource))]
public int? IgazolvanyTipus { get; set; }
[Display(Name = nameof(AlkalmazottResource.IgazolvanyTipus), ResourceType = typeof(AlkalmazottResource))]
public string IgazolvanyTipus_NAME { get { return IgazolvanyTipus.GetDisplayName<IgazolvanyTipusEnum>(ClaimData.SelectedTanevID.Value); } }
[Display(Name = nameof(AlkalmazottResource.IgazolvanySzam), ResourceType = typeof(AlkalmazottResource))]
public string IgazolvanySzam { get; set; }
[Display(Name = nameof(AlkalmazottResource.Felhasznalonev), ResourceType = typeof(AlkalmazottResource))]
public string BelepesiNev { get; set; }
[Display(Name = nameof(AlkalmazottResource.AktivStatusz), ResourceType = typeof(AlkalmazottResource))]
public bool AktivStatusz { get; set; }
[Display(Name = nameof(AlkalmazottResource.AktivStatusz), ResourceType = typeof(AlkalmazottResource))]
public string AktivStatusz_BNAME { get { return AktivStatusz.GetDisplayName(); } }
[Display(Name = nameof(AlkalmazottResource.Neptunkod), ResourceType = typeof(AlkalmazottResource))]
public string Tanev { get; set; }
[Display(Name = nameof(AlkalmazottResource.AdoazonositoJel), ResourceType = typeof(AlkalmazottResource))]
public string AdoazonositoJel { get; set; }
[Display(Name = nameof(FelhasznalokResource.TAJszam), ResourceType = typeof(FelhasznalokResource))]
public string TajSzam { get; set; }
[Display(Name = nameof(AlkalmazottResource.Megjegyzes), ResourceType = typeof(AlkalmazottResource))]
public string Megjegyzes { get; set; }
[Display(Name = nameof(AlkalmazottResource.IsKuldhetoPedMinositesSzRnek), ResourceType = typeof(AlkalmazottResource))]
public bool IsKuldhetoPedMinositesSzRnek { get; set; }
[Display(Name = nameof(AlkalmazottResource.IsKuldhetoPedMinositesSzRnek), ResourceType = typeof(AlkalmazottResource))]
public string IsKuldhetoPedMinositesSzRnek_Str { get { return IsKuldhetoPedMinositesSzRnek.GetDisplayName(); } }
[Display(Name = nameof(AlkalmazottResource.Anyanyelve), ResourceType = typeof(AlkalmazottResource))]
public string Anyanyelve { get; set; }
}
public class ElsodlegesMunkaugyiAdatok
{
[Display(Name = nameof(AlkalmazottResource.PedagogusFokozat), ResourceType = typeof(AlkalmazottResource))]
public int? BesorolasiFokozat { get; set; }
[Display(Name = nameof(AlkalmazottResource.PedagogusFokozat), ResourceType = typeof(AlkalmazottResource))]
public string BesorolasiFokozat_NAME { get { return BesorolasiFokozat.GetDisplayName<BesorolasiFokozatTipusEnum>(ClaimData.SelectedTanevID.Value); } }
[Display(Name = nameof(AlkalmazottResource.Munkakor), ResourceType = typeof(AlkalmazottResource))]
public int? Munkakor { get; set; }
[Display(Name = nameof(AlkalmazottResource.Munkakor), ResourceType = typeof(AlkalmazottResource))]
public string Munkakor_NAME { get { return Munkakor.GetDisplayName<MunkakorTipusEnum>(ClaimData.SelectedTanevID.Value); } }
[Display(Name = nameof(AlkalmazottResource.FoglalkoztatasiJogviszony), ResourceType = typeof(AlkalmazottResource))]
public int? FoglalkoztatasiJogviszony { get; set; }
[Display(Name = nameof(AlkalmazottResource.FoglalkoztatasiJogviszony), ResourceType = typeof(AlkalmazottResource))]
public string FoglalkoztatasiJogviszony_NAME { get { return FoglalkoztatasiJogviszony.GetDisplayName<MunkaviszonyTipusEnum>(ClaimData.SelectedTanevID.Value); } }
[Display(Name = nameof(AlkalmazottResource.ReszmunkaidoSzazalek), ResourceType = typeof(AlkalmazottResource))]
public double? ReszmunkaidosSzazalek { get; set; }
public int? FoglalkoztatasTipusa { get; set; }
[Display(Name = nameof(AlkalmazottResource.FoglalkoztatasTipusa), ResourceType = typeof(AlkalmazottResource))]
public string FoglalkoztatasTipusa_NAME { get { return FoglalkoztatasTipusa.GetDisplayName<FoglalkoztatasTipusaEnum>(ClaimData.SelectedTanevID.Value); } }
[Display(Name = nameof(AlkalmazottResource.Oraszam), ResourceType = typeof(AlkalmazottResource))]
public double? KotelezoOraszam { get; set; }
public int? MunkaidoKedvezmenyOka { get; set; }
[Display(Name = nameof(AlkalmazottResource.FeladattalTerheltOraszamOka), ResourceType = typeof(AlkalmazottResource))]
public string MunkaidoKedvezmenyOka_NAME { get { return MunkaidoKedvezmenyOka.GetDisplayName<MunkaidoKedvezmenyOkaEnum>(ClaimData.SelectedTanevID.Value); } }
[Display(Name = nameof(AlkalmazottResource.FeladattalTerheltOraszam), ResourceType = typeof(AlkalmazottResource))]
public double? MunkaidoKedvezmenyOraszam { get; set; }
public DateTime? AlkalmazasKezdete { get; set; }
[Display(Name = nameof(AlkalmazottResource.AlkalmazasKezdete), ResourceType = typeof(AlkalmazottResource))]
public string AlkalmazasKezdete_SDATE { get { return AlkalmazasKezdete.ToShortDateString(); } }
[Display(Name = nameof(AlkalmazottResource.AlkalmazasVege), ResourceType = typeof(AlkalmazottResource))]
public DateTime? AlkalmazasVege { get; set; }
[Display(Name = nameof(AlkalmazottResource.AlkalmazasVege), ResourceType = typeof(AlkalmazottResource))]
public string AlkalmazasVege_SDATE { get { return AlkalmazasVege.ToShortDateString(); } }
public int? VezetoiOraszamOka { get; set; }
[Display(Name = nameof(AlkalmazottResource.VezetoiOraszamOka), ResourceType = typeof(AlkalmazottResource))]
public string VezetoiOraszamOka_NAME { get { return VezetoiOraszamOka.GetDisplayName<VezetoiOraszamokTipusEnum>(ClaimData.SelectedTanevID.Value); } }
public int? FeladatellatasiHely { get; set; }
[Display(Name = nameof(CommonResource.Feladatellatasihely), ResourceType = typeof(CommonResource))]
public string FeladatellatasiHely_NAME { get; set; }
public bool TartosanTavollevo { get; set; }
[Display(Name = nameof(AlkalmazottResource.TartosanTavollevo), ResourceType = typeof(AlkalmazottResource))]
public string TartosanTavollevo_BNAME { get { return TartosanTavollevo.GetDisplayName(); } }
public bool BetoltetlenAllashely { get; set; }
[Display(Name = nameof(AlkalmazottResource.BetoltetlenAllashely), ResourceType = typeof(AlkalmazottResource))]
public string BetoltetlenAllashely_BNAME { get { return BetoltetlenAllashely.GetDisplayName(); } }
public bool IsKulsoAlkalmazott { get; set; }
[Display(Name = nameof(AlkalmazottResource.KulsoAlkalmazott), ResourceType = typeof(AlkalmazottResource))]
public string IsKulsoAlkalmazott_BNAME { get { return IsKulsoAlkalmazott.GetDisplayName(); } }
public bool Nyugdijas { get; set; }
[Display(Name = nameof(AlkalmazottResource.NyugdijasTovabbfoglalkoztatott), ResourceType = typeof(AlkalmazottResource))]
public string Nyugdijas_BNAME { get { return Nyugdijas.GetDisplayName(); } }
public bool Foallasu { get; set; }
[Display(Name = nameof(AlkalmazottResource.Foallasu), ResourceType = typeof(AlkalmazottResource))]
public string Foallasu_BNAME { get { return Foallasu.GetDisplayName(); } }
public bool Szakvizsga { get; set; }
[Display(Name = nameof(AlkalmazottResource.Szakvizsga), ResourceType = typeof(AlkalmazottResource))]
public string Szakvizsga_BNAME { get { return Szakvizsga.GetDisplayName(); } }
public bool SzakertoiVagyVizsgaelnokiTevekenysegu { get; set; }
[Display(Name = nameof(AlkalmazottResource.SzakertoiVagyVizsgaelnokiTevekenysegu), ResourceType = typeof(AlkalmazottResource))]
public string SzakertoiVagyVizsgaelnokiTevekenysegu_BNAME { get { return SzakertoiVagyVizsgaelnokiTevekenysegu.GetDisplayName(); } }
public bool SzakmaiTovabbkepzes { get; set; }
[Display(Name = nameof(AlkalmazottResource.SzakmaiTovabbkepzes), ResourceType = typeof(AlkalmazottResource))]
public string SzakmaiTovabbkepzes_BNAME { get { return SzakmaiTovabbkepzes.GetDisplayName(); } }
public bool UtazoGyogypedagogus { get; set; }
[Display(Name = nameof(AlkalmazottResource.UtazoGyogypedagogus), ResourceType = typeof(AlkalmazottResource))]
public string UtazoGyogypedagogus_BNAME { get { return UtazoGyogypedagogus.GetDisplayName(); } }
public bool CsokkentettMunkaidos { get; set; }
[Display(Name = nameof(AlkalmazottResource.CsokkentettMunkaidos), ResourceType = typeof(AlkalmazottResource))]
public string CsokkentettMunkaidos_BNAME { get { return CsokkentettMunkaidos.GetDisplayName(); } }
public bool Attanito { get; set; }
[Display(Name = nameof(AlkalmazottResource.Attanito), ResourceType = typeof(AlkalmazottResource))]
public string Attanito_BNAME { get { return Attanito.GetDisplayName(); } }
public bool AttanitoMasIntezmeny { get; set; }
[Display(Name = nameof(AlkalmazottResource.AttanitoMasIntezmeny), ResourceType = typeof(AlkalmazottResource))]
public string AttanitoMasIntezmeny_BNAME { get { return AttanitoMasIntezmeny.GetDisplayName(); } }
public bool IsAttanitoSzCnBelul { get; set; }
[Display(Name = nameof(AlkalmazottResource.AttanitoSZCnbelul), ResourceType = typeof(AlkalmazottResource))]
public string IsAttanitoSzCnBelul_BNAME { get { return IsAttanitoSzCnBelul.GetDisplayName(); } }
[Display(Name = nameof(AlkalmazottResource.AlkalmazottSZTSZKod), ResourceType = typeof(AlkalmazottResource))]
public string SZTSZKod { get; set; }
public bool AllandoHelyettesitesre { get; set; }
[Display(Name = nameof(AlkalmazottResource.AllandoHelyettesitesre), ResourceType = typeof(AlkalmazottResource))]
public string AllandoHelyettesitesre_BNAME { get { return AllandoHelyettesitesre.GetDisplayName(); } }
public bool SzakertoMesterpedagogusKutatotanar { get; set; }
[Display(Name = nameof(AlkalmazottResource.SzakertoMesterpedagogusKutatotanar), ResourceType = typeof(AlkalmazottResource))]
public string SzakertoMesterpedagogusKutatotanar_BNAME { get { return SzakertoMesterpedagogusKutatotanar.GetDisplayName(); } }
public bool VezetoPedagogusVezetoOvodaPedagogus { get; set; }
[Display(Name = nameof(AlkalmazottResource.VezetoPedagogusVezetoOvodaPedagogus), ResourceType = typeof(AlkalmazottResource))]
public string VezetoPedagogusVezetoOvodaPedagogus_BNAME { get { return VezetoPedagogusVezetoOvodaPedagogus.GetDisplayName(); } }
public bool IsNszfhUjSzkt { get { return ClaimData.IsSelectedTanev20_21OrLater && ClaimData.IsSzakkepzoIntezmeny; } }
[Display(Name = nameof(AlkalmazottResource.OktatoiFeladatokatIsEllat), ResourceType = typeof(AlkalmazottResource))]
public string OktatoiFeladatokatIsEllat { get; set; }
public bool IsVisibleOktatoiFeladatokatIsEllat => IsNszfhUjSzkt && Munkakor.HasValue && Core.Constants.NszfhTovabbiMunkakorTipusIdList.Contains(Munkakor.Value);
public int? EgyebTevekenysegekTipusId { get; set; }
[Display(Name = nameof(AlkalmazottResource.Egyebtevekenysegek), ResourceType = typeof(AlkalmazottResource))]
public string EgyebTevekenysegekTipus_NAME { get { return EgyebTevekenysegekTipusId.GetDisplayName<EgyebTevekenysegekTipusEnum>(ClaimData.SelectedTanevID.Value); } }
public bool IsOsztalyfonok { get; set; }
[Display(Name = nameof(AlkalmazottResource.Osztalyfonok), ResourceType = typeof(AlkalmazottResource))]
public string IsOsztalyfonok_BNAME { get { return IsOsztalyfonok.GetDisplayName(); } }
public bool IsDualisKepzohelyiOktato { get; set; }
[Display(Name = nameof(AlkalmazottResource.DualisKepzohelyNeve), ResourceType = typeof(AlkalmazottResource))]
public string DualisKepzohelyNeve { get; set; }
[Display(Name = nameof(AlkalmazottResource.DualisKepzohelyAdoszama), ResourceType = typeof(AlkalmazottResource))]
public string DualisKepzohelyAdoszama { get; set; }
public bool IsSzakiranyuOktatasertFelelos { get; set; }
[Display(Name = nameof(AlkalmazottResource.SzakiranyuOktatasertFelelos), ResourceType = typeof(AlkalmazottResource))]
public string IsSzakiranyuOktatasertFelelos_BNAME { get { return IsSzakiranyuOktatasertFelelos.GetDisplayName(); } }
public bool IsKlebelsberg { get; set; }
public bool IsInternetetOktCelraHasznal { get; set; }
[Display(Name = nameof(AlkalmazottResource.IsInternetetOktCelraHasznal), ResourceType = typeof(AlkalmazottResource))]
public string IsInternetetOktCelraHasznal_BNAME { get { return IsInternetetOktCelraHasznal.GetDisplayName(); } }
public bool IsInformatKepIsmRendelkezik { get; set; }
[Display(Name = nameof(AlkalmazottResource.IsInformatKepIsmRendelkezik), ResourceType = typeof(AlkalmazottResource))]
public string IsInformatKepIsmRendelkezik_BNAME { get { return IsInformatKepIsmRendelkezik.GetDisplayName(); } }
public bool IsIktEszkozoketLgalabb40Hasznal { get; set; }
[Display(Name = nameof(AlkalmazottResource.IsIktEszkozoketLgalabb40Hasznal), ResourceType = typeof(AlkalmazottResource))]
public string IsIktEszkozoketLgalabb40Hasznal_BNAME { get { return IsIktEszkozoketLgalabb40Hasznal.GetDisplayName(); } }
public bool HasEfopEszkoz { get; set; }
[Display(Name = nameof(AlkalmazottResource.HasEfopEszkoz), ResourceType = typeof(AlkalmazottResource))]
public string HasEfopEszkoz_BNAME { get { return HasEfopEszkoz.GetDisplayName(); } }
public bool IsApaczaiMentor { get; set; }
[Display(Name = nameof(AlkalmazottResource.ApaczaiMentor), ResourceType = typeof(AlkalmazottResource))]
public string IsApaczaiMentor_BNAME { get { return IsApaczaiMentor.GetDisplayName(); } }
[Display(Name = nameof(AlkalmazottResource.ApaczaiMentorprogramhozKapcsolodoSZTSZ), ResourceType = typeof(AlkalmazottResource))]
public string SZTSZKod2 { get; set; }
public bool HasBankszamlaInfo { get; set; }
public bool HasNyugdijInfo { get; set; }
[Display(Name = nameof(AlkalmazottResource.HasBankszamlaInfo), ResourceType = typeof(AlkalmazottResource))]
public string HasBankszamlaInfo_BNAME { get { return HasBankszamlaInfo.GetDisplayName(); } }
[Display(Name = nameof(AlkalmazottResource.HasNyugdijInfo), ResourceType = typeof(AlkalmazottResource))]
public string HasNyugdijInfo_BNAME { get { return HasNyugdijInfo.GetDisplayName(); } }
public bool IsApaczaiMentorVisible { get; set; }
public bool IsFromSzervezetOktato { get; set; }
}
public class ElerhetosegCimModel : IKretaIdentity
{
public const string ElerhetosegCimExportAttributeId = nameof(ElerhetosegCimExportAttributeId);
public ElerhetosegCimModel()
{
}
public ElerhetosegCimModel(AlkalmazottElerhetosegCimItemCo co)
{
ID = co.Id;
Orszag_DNAME = co.Orszag_DNAME;
TIPUS_DNAME = co.Tipus_DNAME;
IRANYITOSZAM = co.Iranyitoszam;
VAROS = co.Varos;
Cim = co.Cim;
KOZTERULET = co.Kozterulet;
KozteruletJellegeNev = co.KozteruletJellegeNev;
HAZSZAM = co.Hazszam;
EMELET = co.Emelet;
AJTO = co.Ajto;
Alapertelmezett_BOOL = co.Alapertelmezett_BOOL;
Alapertelmezett_BNAME = co.Alapertelmezett_BNAME;
}
public string ID { get; set; }
[SimpleExportColumn(ElerhetosegCimExportAttributeId, 01, nameof(TanuloResource.Orszag), typeof(TanuloResource))]
[Display(Name = nameof(TanuloResource.Orszag), ResourceType = typeof(TanuloResource))]
public string Orszag_DNAME { get; set; }
[SimpleExportColumn(ElerhetosegCimExportAttributeId, 00, nameof(AlkalmazottResource.Tipus), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Tipus), ResourceType = typeof(AlkalmazottResource))]
public string TIPUS_DNAME { get; set; }
[SimpleExportColumn(ElerhetosegCimExportAttributeId, 02, nameof(AlkalmazottResource.Iranyitoszam), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Iranyitoszam), ResourceType = typeof(AlkalmazottResource))]
public string IRANYITOSZAM { get; set; }
[SimpleExportColumn(ElerhetosegCimExportAttributeId, 03, nameof(AlkalmazottResource.Helyseg), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Helyseg), ResourceType = typeof(AlkalmazottResource))]
public string VAROS { get; set; }
[SimpleExportColumn(ElerhetosegCimExportAttributeId, 04, nameof(AlkalmazottResource.Cim), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Cim), ResourceType = typeof(AlkalmazottResource))]
public string Cim { get; set; }
public string KOZTERULET { get; set; }
[Display(Name = nameof(TanuloResource.KozteruletJellege), ResourceType = typeof(TanuloResource))]
public string KozteruletJellegeNev { get; set; }
public string HAZSZAM { get; set; }
public string EMELET { get; set; }
public string AJTO { get; set; }
public bool Alapertelmezett_BOOL { get; set; }
[SimpleExportColumn(ElerhetosegCimExportAttributeId, 05, nameof(AlkalmazottResource.Alapertelmezett), typeof(AlkalmazottResource))]
public string Alapertelmezett_BNAME { get; set; }
}
public class ElerhetosegEmailModel : IKretaIdentity
{
public const string ElerhetosegEmailExportAttributeId = nameof(ElerhetosegEmailExportAttributeId);
public ElerhetosegEmailModel()
{
}
public ElerhetosegEmailModel(AlkalmazottElerhetosegEmailItemCo co)
{
ID = co.Id;
TYPE_DNAME = co.Type_DNAME;
Email = co.Email;
ALAPERTELMEZETT_BOOL = co.Alapertelmezett_BOOL;
IsPublic_BOOL = co.IsPublic_BOOL;
IsHibasanMegadva_BOOL = co.IsHibasanMegadva_BOOL;
Alapertelmezett_BNAME = co.Alapertelmezett_BNAME;
}
public string ID { get; set; }
[SimpleExportColumn(ElerhetosegEmailExportAttributeId, 00, nameof(AlkalmazottResource.Tipus), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Tipus), ResourceType = typeof(AlkalmazottResource))]
public string TYPE_DNAME { get; set; }
[SimpleExportColumn(ElerhetosegEmailExportAttributeId, 01, nameof(AlkalmazottResource.EmailCim), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.EmailCim), ResourceType = typeof(AlkalmazottResource))]
public string Email { get; set; }
[Display(Name = nameof(AlkalmazottResource.Alapertelmezett), ResourceType = typeof(AlkalmazottResource))]
public bool ALAPERTELMEZETT_BOOL { get; set; }
[Display(Name = nameof(AlkalmazottResource.Publikus), ResourceType = typeof(AlkalmazottResource))]
public bool IsPublic_BOOL { get; set; }
public bool IsHibasanMegadva_BOOL { get; set; }
[SimpleExportColumn(ElerhetosegEmailExportAttributeId, 02, nameof(AlkalmazottResource.Alapertelmezett), typeof(AlkalmazottResource))]
public string Alapertelmezett_BNAME { get; set; }
}
public class ElerhetosegTelefonModel : IKretaIdentity
{
public const string ElerhetosegTelefonExportAttributeId = nameof(ElerhetosegTelefonExportAttributeId);
public ElerhetosegTelefonModel()
{
}
public ElerhetosegTelefonModel(AlkalmazottElerhetosegTelefonItemCo co)
{
ID = co.Id;
TYPE_DNAME = co.Type_DNAME;
Phone = co.Phone;
ALAPERTELMEZETT_BOOL = co.Alapertelmezett_BOOL;
IsPublic_BOOL = co.IsPublic_BOOL;
Alapertelmezett_BNAME = co.Alapertelmezett_BNAME;
}
public string ID { get; set; }
[SimpleExportColumn(ElerhetosegTelefonExportAttributeId, 00, nameof(AlkalmazottResource.Tipus), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Tipus), ResourceType = typeof(AlkalmazottResource))]
public string TYPE_DNAME { get; set; }
[SimpleExportColumn(ElerhetosegTelefonExportAttributeId, 01, nameof(AlkalmazottResource.Telefonszam), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Telefonszam), ResourceType = typeof(AlkalmazottResource))]
public string Phone { get; set; }
[Display(Name = nameof(AlkalmazottResource.Alapertelmezett), ResourceType = typeof(AlkalmazottResource))]
public bool ALAPERTELMEZETT_BOOL { get; set; }
[Display(Name = nameof(AlkalmazottResource.Publikus), ResourceType = typeof(AlkalmazottResource))]
public bool IsPublic_BOOL { get; set; }
[SimpleExportColumn(ElerhetosegTelefonExportAttributeId, 02, nameof(AlkalmazottResource.Alapertelmezett), typeof(AlkalmazottResource))]
public string Alapertelmezett_BNAME { get; set; }
}
public class FoglalkozasModel : IKretaIdentity
{
public const string FoglalkozasExportAttributeId = nameof(FoglalkozasExportAttributeId);
public FoglalkozasModel()
{
}
public FoglalkozasModel(AlkalmazottFoglalkozasItemCo co)
{
ID = co.Id;
Tantargy = co.Tantargy;
OsztalyCsoport = co.OsztalyCsoport;
HetiOraszam = co.HetiOraszam;
Foglalkozas_DNAME = co.Foglalkozas_DNAME;
}
public string ID { get; set; }
[SimpleExportColumn(FoglalkozasExportAttributeId, 00, nameof(AlkalmazottResource.Tantargy), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Tantargy), ResourceType = typeof(AlkalmazottResource))]
public string Tantargy { get; set; }
[SimpleExportColumn(FoglalkozasExportAttributeId, 01, nameof(AlkalmazottResource.OsztalyCsoport), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.OsztalyCsoport), ResourceType = typeof(AlkalmazottResource))]
public string OsztalyCsoport { get; set; }
[SimpleExportColumn(FoglalkozasExportAttributeId, 02, nameof(AlkalmazottResource.HetiOraszam), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.HetiOraszam), ResourceType = typeof(AlkalmazottResource))]
public int HetiOraszam { get; set; }
[SimpleExportColumn(FoglalkozasExportAttributeId, 03, nameof(AlkalmazottResource.FoglalkozasTipusa), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.FoglalkozasTipusa), ResourceType = typeof(AlkalmazottResource))]
public string Foglalkozas_DNAME { get; set; }
}
public class OrarendiOraModel : IKretaIdentity
{
public const string OrarendiOraExportAttributeId = nameof(OrarendiOraExportAttributeId);
public OrarendiOraModel()
{
}
public OrarendiOraModel(AlkalmazottOrarendiOrakItemCo co)
{
ID = co.Id;
Hetirend_DNAME = co.Hetirend_DNAME;
HetNapja_DNAME = co.HetNapja_DNAME;
Ora = co.Ora;
OsztalyCsoport = co.OsztalyCsoport;
Tantargy = co.Tantargy;
Helyiseg = co.Helyiseg;
ErvenyessegKezdete = co.ErvenyessegKezdete;
ErvenyessegVege = co.ErvenyessegVege;
}
public string ID { get; set; }
[SimpleExportColumn(OrarendiOraExportAttributeId, 00, nameof(AlkalmazottResource.OrarendiNapHetirendje), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.OrarendiNapHetirendje), ResourceType = typeof(AlkalmazottResource))]
public string Hetirend_DNAME { get; set; }
[SimpleExportColumn(OrarendiOraExportAttributeId, 01, nameof(AlkalmazottResource.Nap), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Nap), ResourceType = typeof(AlkalmazottResource))]
public string HetNapja_DNAME { get; set; }
[SimpleExportColumn(OrarendiOraExportAttributeId, 02, nameof(AlkalmazottResource.Ora), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Ora), ResourceType = typeof(AlkalmazottResource))]
public int Ora { get; set; }
[SimpleExportColumn(OrarendiOraExportAttributeId, 03, nameof(AlkalmazottResource.OsztalyPerCsoport), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.OsztalyPerCsoport), ResourceType = typeof(AlkalmazottResource))]
public string OsztalyCsoport { get; set; }
[SimpleExportColumn(OrarendiOraExportAttributeId, 04, nameof(AlkalmazottResource.Tantargy), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Tantargy), ResourceType = typeof(AlkalmazottResource))]
public string Tantargy { get; set; }
[SimpleExportColumn(OrarendiOraExportAttributeId, 05, nameof(AlkalmazottResource.Helyiseg), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Helyiseg), ResourceType = typeof(AlkalmazottResource))]
public string Helyiseg { get; set; }
[SimpleExportColumn(OrarendiOraExportAttributeId, 06, nameof(AlkalmazottResource.ErvenyessegKezdete), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.ErvenyessegKezdete), ResourceType = typeof(AlkalmazottResource))]
public DateTime? ErvenyessegKezdete { get; set; }
[SimpleExportColumn(OrarendiOraExportAttributeId, 07, nameof(AlkalmazottResource.ErvenyessegVege), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.ErvenyessegVege), ResourceType = typeof(AlkalmazottResource))]
public DateTime? ErvenyessegVege { get; set; }
}
public class TanmenetModel : IKretaIdentity
{
public const string TanmenetExportAttributeId = nameof(TanmenetExportAttributeId);
public TanmenetModel()
{
}
public TanmenetModel(AlkalmazottTanmenetItemCo co)
{
ID = co.Id;
OsztalyCsoport = co.OsztalyCsoport;
Tantargy = co.Tantargy;
Oraszam = co.Oraszam;
Tema = co.Tema;
}
[Display(Name = nameof(AlkalmazottResource.Sorsz), ResourceType = typeof(AlkalmazottResource))]
public string ID { get; set; }
[SimpleExportColumn(TanmenetExportAttributeId, 01, nameof(AlkalmazottResource.OsztalyCsoport), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.OsztalyCsoport), ResourceType = typeof(AlkalmazottResource))]
public string OsztalyCsoport { get; set; }
[SimpleExportColumn(TanmenetExportAttributeId, 02, nameof(AlkalmazottResource.Tantargy), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Tantargy), ResourceType = typeof(AlkalmazottResource))]
public string Tantargy { get; set; }
[SimpleExportColumn(TanmenetExportAttributeId, 00, nameof(AlkalmazottResource.OraSzama), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.OraSzama), ResourceType = typeof(AlkalmazottResource))]
public string Oraszam { get; set; }
[SimpleExportColumn(TanmenetExportAttributeId, 03, nameof(AlkalmazottResource.Tema), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Tema), ResourceType = typeof(AlkalmazottResource))]
public string Tema { get; set; }
}
public class MegtartottTanoraModel : IKretaIdentity
{
public const string MegtartottTanoraExportAttributeId = nameof(MegtartottTanoraExportAttributeId);
public MegtartottTanoraModel()
{
}
public MegtartottTanoraModel(AlkalmazottMegtartottTanoraItemCo co)
{
ID = co.Id;
OsztalyCsoport = co.OsztalyCsoport;
Tantargy = co.Tantargy;
Tema = co.Tema;
Helyett_BNAME = co.Helyett_BNAME;
Datum = co.Datum;
Oraszam = co.Oraszam;
}
public string ID { get; set; }
[SimpleExportColumn(MegtartottTanoraExportAttributeId, 00, nameof(AlkalmazottResource.OsztalyCsoport), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.OsztalyCsoport), ResourceType = typeof(AlkalmazottResource))]
public string OsztalyCsoport { get; set; }
[SimpleExportColumn(MegtartottTanoraExportAttributeId, 01, nameof(AlkalmazottResource.Tantargy), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Tantargy), ResourceType = typeof(AlkalmazottResource))]
public string Tantargy { get; set; }
[SimpleExportColumn(MegtartottTanoraExportAttributeId, 02, nameof(AlkalmazottResource.Tema), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Tema), ResourceType = typeof(AlkalmazottResource))]
public string Tema { get; set; }
[SimpleExportColumn(MegtartottTanoraExportAttributeId, 03, nameof(AlkalmazottResource.Helyett), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Helyett), ResourceType = typeof(AlkalmazottResource))]
public string Helyett_BNAME { get; set; }
[SimpleExportColumn(MegtartottTanoraExportAttributeId, 04, nameof(AlkalmazottResource.Datum), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Datum), ResourceType = typeof(AlkalmazottResource))]
public DateTime? Datum { get; set; }
[SimpleExportColumn(MegtartottTanoraExportAttributeId, 05, nameof(AlkalmazottResource.Oraszam), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Oraszam), ResourceType = typeof(AlkalmazottResource))]
public int Oraszam { get; set; }
}
public class ErtekelesModel : IKretaIdentity
{
public const string ErtekelesExportAttributeId = nameof(ErtekelesExportAttributeId);
public ErtekelesModel()
{
}
public ErtekelesModel(AlkalmazottErtekelesItemCo co)
{
ID = co.Id;
Tantargy = co.Tantargy;
Tanulo = co.Tanulo;
Datum = co.Datum;
Tema = co.Tema;
Osztalyzat_DNAME = co.Osztalyzat_DNAME;
ErtekelesSzoveg = co.ErtekelesSzoveg;
Tipus_DNAME = co.Tipus_DNAME;
OsztalyCsoport = co.OsztalyCsoport;
}
public string ID { get; set; }
[SimpleExportColumn(ErtekelesExportAttributeId, 00, nameof(AlkalmazottResource.Tantargy), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Tantargy), ResourceType = typeof(AlkalmazottResource))]
public string Tantargy { get; set; }
[SimpleExportColumn(ErtekelesExportAttributeId, 01, nameof(AlkalmazottResource.Tanulo), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Tanulo), ResourceType = typeof(AlkalmazottResource))]
public string Tanulo { get; set; }
[SimpleExportColumn(ErtekelesExportAttributeId, 02, nameof(AlkalmazottResource.Datum), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Datum), ResourceType = typeof(AlkalmazottResource))]
public DateTime? Datum { get; set; }
[SimpleExportColumn(ErtekelesExportAttributeId, 03, nameof(AlkalmazottResource.Tema), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Tema), ResourceType = typeof(AlkalmazottResource))]
public string Tema { get; set; }
[SimpleExportColumn(ErtekelesExportAttributeId, 04, nameof(AlkalmazottResource.Osztalyzat), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Osztalyzat), ResourceType = typeof(AlkalmazottResource))]
public string Osztalyzat_DNAME { get; set; }
[SimpleExportColumn(ErtekelesExportAttributeId, 05, nameof(AlkalmazottResource.SzovegesErtekeles), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.SzovegesErtekeles), ResourceType = typeof(AlkalmazottResource))]
public string ErtekelesSzoveg { get; set; }
[SimpleExportColumn(ErtekelesExportAttributeId, 06, nameof(AlkalmazottResource.Tipus), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Tipus), ResourceType = typeof(AlkalmazottResource))]
public string Tipus_DNAME { get; set; }
[SimpleExportColumn(ErtekelesExportAttributeId, 07, nameof(AlkalmazottResource.OsztalyCsoport), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.OsztalyCsoport), ResourceType = typeof(AlkalmazottResource))]
public string OsztalyCsoport { get; set; }
}
public class PedagogusEletpalyamodellModel : IKretaIdentity
{
public const string PedagogusEletpalyamodellExportAttributeId = nameof(PedagogusEletpalyamodellExportAttributeId);
public PedagogusEletpalyamodellModel() { }
public PedagogusEletpalyamodellModel(AlkalmazottPedagogusEletpalyamodellItemCo itemCo)
{
ID = itemCo.Id.ToString();
Fokozat_DNAME = itemCo.Fokozat_DNAME;
Statusz_DNAME = itemCo.Statusz_DNAME;
Datum = itemCo.Datum;
}
public string ID { get; set; }
[SimpleExportColumn(PedagogusEletpalyamodellExportAttributeId, 00, nameof(AlkalmazottResource.Fokozat), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Fokozat), ResourceType = typeof(AlkalmazottResource))]
public string Fokozat_DNAME { get; set; }
[SimpleExportColumn(PedagogusEletpalyamodellExportAttributeId, 01, nameof(AlkalmazottResource.Statusz), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Statusz), ResourceType = typeof(AlkalmazottResource))]
public string Statusz_DNAME { get; set; }
[SimpleExportColumn(PedagogusEletpalyamodellExportAttributeId, 02, nameof(AlkalmazottResource.MinositesDatuma), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.MinositesDatuma), ResourceType = typeof(AlkalmazottResource))]
public DateTime? Datum { get; set; }
}
public class VegzettsegModel : IKretaIdentity
{
public const string VegzettsegExportAttributeId = nameof(VegzettsegExportAttributeId);
public VegzettsegModel() { }
public VegzettsegModel(VegzettsegItemCo itemCo)
{
ID = itemCo.Id.ToString();
Vegzettseg_DNAME = itemCo.Vegzettseg_DNAME;
Kepesites = itemCo.Kepesites;
Egyeb = itemCo.Egyeb;
}
public string ID { get; set; }
[SimpleExportColumn(VegzettsegExportAttributeId, 00, nameof(AlkalmazottResource.Vegzettseg), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Vegzettseg), ResourceType = typeof(AlkalmazottResource))]
public string Vegzettseg_DNAME { get; set; }
[SimpleExportColumn(VegzettsegExportAttributeId, 01, nameof(AlkalmazottResource.SzakMegnevezese), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.SzakMegnevezese), ResourceType = typeof(AlkalmazottResource))]
public string Kepesites { get; set; }
[SimpleExportColumn(VegzettsegExportAttributeId, 02, nameof(AlkalmazottResource.Egyeb), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Egyeb), ResourceType = typeof(AlkalmazottResource))]
public string Egyeb { get; set; }
}
public class KKVegzettsegDetailModel : IKretaIdentity
{
public string ID { get; set; }
public int EntityID { get; set; }
[Display(Name = nameof(AlkalmazottResource.Terulet), ResourceType = typeof(AlkalmazottResource))]
public string Terulet { get; set; }
}
public class KKVegzettsegMainModel : IKretaIdentity
{
public string ID { get; set; }
public int? EntityID { get; set; }
public int? KepesitesTipusId { get; set; }
public int AlkalmazottId { get; set; }
[Display(Name = nameof(AlkalmazottResource.Kepesites), ResourceType = typeof(AlkalmazottResource))]
public string Kepesites { get; set; }
[Display(Name = nameof(AlkalmazottResource.KepesitesTipus), ResourceType = typeof(AlkalmazottResource))]
public string KepesitesTipus { get; set; }
[Display(Name = nameof(AlkalmazottResource.Vegzettseg), ResourceType = typeof(AlkalmazottResource))]
public string Vegzettseg { get; set; }
[Display(Name = nameof(AlkalmazottResource.MuveszetiAg), ResourceType = typeof(AlkalmazottResource))]
public string MuveszetiAg { get; set; }
[Display(Name = nameof(AlkalmazottResource.Egyeb), ResourceType = typeof(AlkalmazottResource))]
public string Egyeb { get; set; }
}
public class TovabbiMunkaugyiAdatokGridModel : IKretaIdentity
{
public string ID { get; set; }
[Display(Name = nameof(AlkalmazottResource.Munkakor), ResourceType = typeof(AlkalmazottResource))]
public string MunkaKor_DNAME { get; set; }
[Display(Name = nameof(AlkalmazottResource.PedagogusFokozat), ResourceType = typeof(AlkalmazottResource))]
public string PedagogusFokozat_DNAME { get; set; }
[KretaDisplayName(87)]
public double? KotelezoOraszam { get; set; }
[Display(Name = nameof(AlkalmazottResource.FeladattalTerheltOraszamOka), ResourceType = typeof(AlkalmazottResource))]
public string MunkaidoKedvezmenyOka_DNAME { get; set; }
}
public class EszkozModel : IKretaIdentity
{
public const string EszkozExportAttributeId = nameof(EszkozExportAttributeId);
public EszkozModel() { }
public EszkozModel(AlkalmazottEszkozItemCo itemCo)
{
ID = itemCo.Id.ToString();
Nev = itemCo.Nev;
Darab = itemCo.Darab;
Tipus_DNAME = itemCo.Tipus_DNAME;
}
public string ID { get; set; }
[SimpleExportColumn(EszkozExportAttributeId, 00, nameof(AlkalmazottResource.EszkozNeve), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.EszkozNeve), ResourceType = typeof(AlkalmazottResource))]
public string Nev { get; set; }
[SimpleExportColumn(EszkozExportAttributeId, 01, nameof(AlkalmazottResource.Darab), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Darab), ResourceType = typeof(AlkalmazottResource))]
public string Darab { get; set; }
[SimpleExportColumn(EszkozExportAttributeId, 02, nameof(AlkalmazottResource.Tipus), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Tipus), ResourceType = typeof(AlkalmazottResource))]
public string Tipus_DNAME { get; set; }
}
public class TovabbkepzesModel : IKretaIdentity
{
public const string TovabbkepzesExportAttributeId = nameof(TovabbkepzesExportAttributeId);
public TovabbkepzesModel() { }
public TovabbkepzesModel(TovabbkepzesCo itemCo)
{
ID = itemCo.ID.ToString();
TovabbkepzesMegnevezese = itemCo.TovabbkepzesMegnevezese;
TanusitvanySorszama = itemCo.TanusitvanySorszama;
Oraszam = itemCo.Oraszam;
Helyszin = itemCo.Helyszin;
EngedelySzama = itemCo.EngedelySzama;
Datum = itemCo.Datum;
}
public string ID { get; set; }
[SimpleExportColumn(TovabbkepzesExportAttributeId, 00, nameof(AlkalmazottResource.TovabbkepzesMegnevezese), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.TovabbkepzesMegnevezese), ResourceType = typeof(AlkalmazottResource))]
public string TovabbkepzesMegnevezese { get; set; }
[SimpleExportColumn(TovabbkepzesExportAttributeId, 05, nameof(AlkalmazottResource.TanusitvanySorszama), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.TanusitvanySorszama), ResourceType = typeof(AlkalmazottResource))]
public string TanusitvanySorszama { get; set; }
[SimpleExportColumn(TovabbkepzesExportAttributeId, 04, nameof(AlkalmazottResource.Oraszam), typeof(AlkalmazottResource))]
[Display(Name = nameof(CommonResource.Oraszam), ResourceType = typeof(CommonResource))]
public int? Oraszam { get; set; }
[SimpleExportColumn(TovabbkepzesExportAttributeId, 02, nameof(AlkalmazottResource.Helyszin), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Helyszin), ResourceType = typeof(AlkalmazottResource))]
public string Helyszin { get; set; }
[SimpleExportColumn(TovabbkepzesExportAttributeId, 01, nameof(AlkalmazottResource.EngedelySzama), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.EngedelySzama), ResourceType = typeof(AlkalmazottResource))]
public string EngedelySzama { get; set; }
[SimpleExportColumn(TovabbkepzesExportAttributeId, 03, nameof(AlkalmazottResource.Datum), typeof(AlkalmazottResource))]
[Display(Name = nameof(AlkalmazottResource.Datum), ResourceType = typeof(AlkalmazottResource))]
public DateTime? Datum { get; set; }
}
}
}